smarie / python-pytest-steps

A tiny package to ease the creation of test steps with shared intermediate results/state.
https://smarie.github.io/python-pytest-steps/
BSD 3-Clause "New" or "Revised" License
56 stars 5 forks source link

Be able to call a decorated test function manually #22

Closed smarie closed 5 years ago

smarie commented 5 years ago

In benchmarking situations we do not want the first run of a test to perform all the indirect imports otherwise its duration is overly big.

Therefore there is a need to run the test function "by hand" once. This is quite difficult right now when the function is decorated with @test_steps...