From a522440f36c3f943b360b482c53727797d45ee20 Mon Sep 17 00:00:00 2001 From: Charles LE REUN <77982369+CharlesLR-sekoia@users.noreply.github.com> Date: Tue, 21 May 2024 16:37:57 +0200 Subject: [PATCH] Update testing.md --- doc/testing.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/doc/testing.md b/doc/testing.md index 7e71ef809..007ad5cfb 100644 --- a/doc/testing.md +++ b/doc/testing.md @@ -46,5 +46,6 @@ All parsers will be verified against the tests associated to their format. To execute a subset of test, you could define some options: - `poetry run pytest test_formats.py --changes`: to only run tests for updated parsers -- `poetry run pytest test_formats.py --module='module-name'`: to only run tests for a specific module (`module-name` correspond to the name defined in the manifest of the module) -- `poetry run pytest test_formats.py --format='format-name'`: to only run tests for a specific format (`format-name` correspond to the name defined in the manifest of the format) +- `poetry run pytest test_formats.py --module='module-name' -vv`: to only run tests for a specific module (`module-name` correspond to the slug defined in the manifest of the module) +- `poetry run pytest test_formats.py --format='format-name' -vv`: to only run tests for a specific format (`format-name` correspond to the slug defined in the manifest of the format) +- `poetry run pytest test_formats.py --format='format-name' -vv --fix-expectations` # fix test expectations