pytest-fixture-tools
pytest-fixture-tools copied to clipboard
Pytest fixture tools
## Bug When running `pytest --fixture-graph --fixture-graph-output-type=svg tests`, I get the following output: ``` ERROR: usage: pytest [options] [file_or_dir] [file_or_dir] [...] pytest: error: argument --fixture-graph-output-type: ignored explicit argument 'svg' ```...
The last released version 1.0.0 does not provide the _fixtures graph_ feature.
Command line options `--fixture-graph-output-dir` and `--fixture-graph-output-type` wouldn't allow you to actually pass custom value, since their action was to store a boolean: ``` $ pytest --fixture-graph --fixture-graph-output-type=pdf ERROR: usage: pytest...
Moved from https://github.com/pytest-dev/pytest/issues/901.
I will create a separate PR to switch from Travis CI to GitHub Actions. _Originally posted by @ogajduse in https://github.com/pytest-dev/pytest-fixture-tools/issues/9#issuecomment-2297221198_
**Problem:** Test runs with --show-fixture-duplicates fail with error: ``` INTERNALERROR> Traceback (most recent call last): INTERNALERROR> File "/Users/user/Code/e2e/venv/lib/python3.12/site-packages/_pytest/fixtures.py", line 1771, in _matchfactories INTERNALERROR> parentnodeids = {n.nodeid for n in node.iter_parents()}...