MORSECorp / snappiershot

Apache License 2.0
30 stars 2 forks source link

[BUG] Marks tests that are ignored by pytest as UNCHECKED #97

Open tahoeschrader opened 2 years ago

tahoeschrader commented 2 years ago

Describe the bug When pytest marks a test to be ignored via the -norecursedirs flag, snappiershot should ignore them too. Instead, snappiershot finds them in the rootdir, marks them as a test to check, but since pytest didn't run it, snappiershot marks it as UNCHECKED.

To Reproduce Ignore a folder thats child to root where you are running pytest from, and in your pytest setup ignore it with a -norecursedirs flag

Expected behavior Snappiershot has knowledge of the norecursedirs flag and ignores those folders when scraping for json.

Screenshots N/A

Versions:

Additional context N/A

tahoeschrader commented 2 years ago

TODO and potential skeleton of code needing to be added is located in snappiershot/plugins/pytest.py