Error in arguments to pytest.mark.parameterize
fails all tests
#3674
Labels
topic: parametrize
related to @pytest.mark.parametrize
type: bug
problem that needs to be addressed
type: question
general question, might be closed after 2 weeks of inactivity
Thanks for submitting an issue!
Here's a quick checklist in what to include:
pip list
of the virtual environment you are usingIf I have a tests case say
and all other tests, are correctly specified, this will crash the entire
pytest
test.The error in the above is that
foo_dict1
should befoo_dict
. However, if Ididnt use
pytest.mark.parametrize
, it seems typographical errors in onetest(
test1
) only results in the failure oftest1
, but other tests in theseries of tests can still go on.
Can this be rectified?
Pytest version: 3.4.1
Operating System: Windows 10
The text was updated successfully, but these errors were encountered: