Granulate / gprofiler

gProfiler is a system-wide profiler, combining multiple sampling profilers to produce unified visualization of what your CPU is spending time on.
https://profiler.granulate.io
Apache License 2.0
743 stars 54 forks source link

Add ids to in_container fixture #802

Closed mpozniak95 closed 1 year ago

mpozniak95 commented 1 year ago

Description

In test titles instead of f.e.:

tests/test_node.py::test_nodejs_attach_maps[False-command_line0-without-flags-nodejs-attach-maps]
tests/test_node.py::test_nodejs_attach_maps_from_container[True-command_line0-without-flags-nodejs-attach-maps]

we will have

tests/test_node.py::test_nodejs_attach_maps[on_host-command_line0-without-flags-nodejs-attach-maps]
tests/test_node.py::test_nodejs_attach_maps_from_container[in_container-command_line0-without-flags-nodejs-attach-maps]

Related Issue

https://github.com/Granulate/gprofiler/issues/536