Skip to content

Commit

Permalink
Remove pytest durations from tests (#309)
Browse files Browse the repository at this point in the history
Even though the --durations flag can be very helpful in debugging and
troubleshooting test durations, to have it in a permanent basis adds
overhead to the tests and obfuscates us seeing more relevant data, such
as coverage report.
  • Loading branch information
tatiana authored Dec 5, 2024
1 parent a9397fb commit 2e9fd4e
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 3 deletions.
1 change: 0 additions & 1 deletion scripts/test/integration.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,4 @@ pytest -vv \
--cov=dagfactory \
--cov-report=term-missing \
--cov-report=xml \
--durations=0 \
-m integration
1 change: 0 additions & 1 deletion scripts/test/unit-cov.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,4 @@ pytest \
--cov=dagfactory \
--cov-report=term-missing \
--cov-report=xml \
--durations=0 \
--ignore=tests/test_example_dags.py
1 change: 0 additions & 1 deletion scripts/test/unit.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
pytest \
-vv \
--durations=0 \
--ignore=tests/test_example_dags.py

0 comments on commit 2e9fd4e

Please sign in to comment.