# visualize ctest dependency and execution profile

**URL:** https://discourse.cmake.org/t/visualize-ctest-dependency-and-execution-profile/11597
**Category:** Development
**Created:** [September 6, 2024, 11:11am UTC](https://discourse.cmake.org/t/visualize-ctest-dependency-and-execution-profile/11597 "2024-09-06T11:11:55Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![pkiran](https://discourse.cmake.org/letter_avatar_proxy/v4/letter/p/dc4da7/32.png) [@pkiran](https://discourse.cmake.org/u/pkiran)
#### Post date: [September 6, 2024, 11:11am UTC](https://discourse.cmake.org/t/visualize-ctest-dependency-and-execution-profile/11597/1 "2024-09-06T11:11:56Z")

</div>

Hello,

Is it currently possible to

1. Visualize the test graph, how many tests were selected for execution and which tests depend on which tests, DAG of tests
2. To support profiling of ctest runs, get a profile of test excution.

Thanks  
Best  
Phani

---

<div class="post-metadata">

### Author: ![craig.scott](https://discourse.cmake.org/user_avatar/discourse.cmake.org/craig.scott/32/20_2.png) [@craig.scott](https://discourse.cmake.org/u/craig.scott)
#### Post date: [September 6, 2024, 11:41pm UTC](https://discourse.cmake.org/t/visualize-ctest-dependency-and-execution-profile/11597/2 "2024-09-06T23:41:04Z")

</div>

I’m not aware of anything providing the features you mentioned. I’d welcome a change that added those capabilities to `ctest` though. I’d be especially interested in profiling `ctest` to produce similar output to `cmake --profiling-output=blah.json --profiling-format=google-trace`. That might be a good starting point as a reference for anyone interested in exploring adding such a capability.

---

<div class="post-metadata">

### Author: ![ben.boeckel](https://discourse.cmake.org/letter_avatar_proxy/v4/letter/b/ea5d25/32.png) [@ben.boeckel](https://discourse.cmake.org/u/ben.boeckel)
#### Post date: [July 19, 2025, 2:25pm UTC](https://discourse.cmake.org/t/visualize-ctest-dependency-and-execution-profile/11597/3 "2025-07-19T14:25:34Z")

</div>

I agree. A [feature request](https://gitlab.kitware.com/cmake/cmake/-/issues) would be the place to start.

---

<div class="post-metadata">

### Author: ![pkiran](https://discourse.cmake.org/letter_avatar_proxy/v4/letter/p/dc4da7/32.png) [@pkiran](https://discourse.cmake.org/u/pkiran)
#### Post date: [July 28, 2025, 3:26pm UTC](https://discourse.cmake.org/t/visualize-ctest-dependency-and-execution-profile/11597/4 "2025-07-28T15:26:38Z")

</div>

Hi all, thanks for the replies - created one here [https://gitlab.kitware.com/cmake/cmake/-/issues/27076](https://gitlab.kitware.com/cmake/cmake/-/issues/27076)
