pytest-mypy-plugins icon indicating copy to clipboard operation
pytest-mypy-plugins copied to clipboard

Fail fast on duplicated parameterized entries

Open kornicameister opened this issue 5 years ago • 2 comments
trafficstars

Ref: https://github.com/kornicameister/loguru-mypy/pull/31#discussion_r470841984


Idea here is to check if parametrized contains a duplicated dictionaries and if so fail fast the test. Problem though is that pytest behavior on parameterized is different...basically pytest does not seem to care if you have duplicates.

Thing to think about for a minute, I guess :)

kornicameister avatar Aug 16 '20 21:08 kornicameister

Yes, let's do that! Each test runs for a while. And it might be helpful to find duplicates and reduce the overall time.

sobolevn avatar Aug 17 '20 12:08 sobolevn

I can't promise when :( if someone else is willing to jump in, go ahead ;) I will happily review.

kornicameister avatar Aug 17 '20 22:08 kornicameister