You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Pytest test selection using -k, which is what I have been using to isolate only one test for execution, doesn't work well when there are parentheses in the test name, e.g. "test_foundry_prove[AssertTest.test_assert_false()]", so to select this test I have to use something like poetry run pytest src/tests/integration --verbose -k "test_foundry_prove[AssertTest.test_assert_false". But this doesn't work well when there is another test function in the same contract, say, called test_assert_false_1(), since using this workaround "test_foundry_prove[AssertTest.test_assert_false" will also match this other test.
The text was updated successfully, but these errors were encountered:
Pytest test selection using
-k
, which is what I have been using to isolate only one test for execution, doesn't work well when there are parentheses in the test name, e.g."test_foundry_prove[AssertTest.test_assert_false()]"
, so to select this test I have to use something likepoetry run pytest src/tests/integration --verbose -k "test_foundry_prove[AssertTest.test_assert_false"
. But this doesn't work well when there is another test function in the same contract, say, calledtest_assert_false_1()
, since using this workaround"test_foundry_prove[AssertTest.test_assert_false"
will also match this other test.The text was updated successfully, but these errors were encountered: