WithSecureOpenSource / pytest-rts

Coverage-based regression test selection (RTS) plugin for pytest
Apache License 2.0
7 stars 3 forks source link

avoid failing if executed not in a git repo #79

Closed matveypashkovskiy closed 3 years ago

matveypashkovskiy commented 3 years ago

ATM if pytest --rts executed not in a git repo (no .git folder) execution fails. Instead, let's print a warning. Something like: "Not a git repository! pytest-rts is disabled. Run git init before using pytest-rts"