To stop the testing process after the first (N) failures:
pytest --maxfail=2
what I want is
@pytest.some_decorator
def test_one(data):
... #do something
assert feature1...
assert feature2...
assert feature3...
This @pytest.some_decorator should run all assert statements even after the first one fails. It cannot be parameterized as it's a feature of the data.
Is this possible? really doesn't make sense to write multiple tests for tests like this for me.