Skip to content

Commit 668b8e7

Browse files
JacksonBurnsrwest
authored andcommitted
another useful option for running tests in pytest.ini
1 parent a3232d3 commit 668b8e7

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

pytest.ini

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ filterwarnings =
1313
# --disable-warnings to ignore the enormous number of warnings completely
1414
# --last-failed to run only the tests which failed on the previous run
1515
# --show-capture no/stdout/stderr/both
16+
# -k "test name" will run only the tests that match the pattern in quotes, i.e. "test_arkane or test_rmg" would run those two tests
1617
addopts =
1718
--keep-duplicates
1819
-p julia.pytestplugin

0 commit comments

Comments
 (0)