python-pytest-steps
python-pytest-steps copied to clipboard
A tiny package to ease the creation of test steps with shared intermediate results/state.
I'm trying to package your module as an rpm package. So I'm using the typical PEP517 based build, install and test cycle used on building packages from non-root account. -...
Hello, is it possible somehow when using generator steps to mark a specific step, for example, with the @pytest.mark.xfail, skip or other marks? Thank you in advance.
At line 86 of steps_pytest_harvest_utils.py, the columns have a single level index on the left and a two level index on the right. This is causing a pandas deprecation warning....
I was playing with the tutorial at https://smarie.github.io/python-pytest-steps/#c-optional-steps-and-dependencies and got this error. I had indented badly and my code looked like this: with optional_step('step_b') as step_b: assert True yield step_b...
Maybe this is not so bad: maybe there is a way to tell pytest-xdist that the group of steps have to be executed in the same distributed process ?
It will be more readable
From reading the code I realize that there is nothing preventing `pytest` to execute the fixture teardown after the first step. So even if you decorate the fixture with `@cross_steps_fixture`,...
Same as https://github.com/smarie/python-pytest-harvest/pull/62 This fixes the following error: ________________________ ERROR collecting test session _________________________ Defining 'pytest_plugins' in a non-top-level conftest is no longer supported: It affects the entire test suite...