joeyespo / pytest-watch

Local continuous test runner with pytest and watchdog.
MIT License
737 stars 52 forks source link

Handle configuration/collection errors when no pytest inifile is present. #90

Closed asford closed 6 years ago

asford commented 6 years ago

Handle config collection when no pytest inifile is present, finish config collection via StopCollect even if an ini file is not present in the cmdline_main configuration hook.

Resolves issues where ptw fails silently if errors are present in the source module and an pytest.ini file is not present. See #85 #73

joeyespo commented 6 years ago

Hey @asford, after testing out a few different cases, I ended up with a solutions that doesn't need to move StopCollect up. I can't foresee if that'll cause other issues, so that's another reason for doing it this other way.

I'll pull this in still and keep the comment, and still tag you in Authors.md. Thanks!