You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Our type-checking unit tests all run under pytest, and some others run under myunit.
For doing development, one generally pretty quickly wants to start running individual tests, or passing flags like py.test --verbose, -s, or -x/--exitfirst. That means running py.test directly, or running myunit directly for those tests that are under myunit. (There is a way to wrap them to send through runtests.py, but that's more complicated.)
Currently the mention in test-data/unit/README.md of running pytest directly is short and easy to gloss over. We should make it more of a focus.
The text was updated successfully, but these errors were encountered:
Also, pytest seems to be preferred over py.test these days
TIL! I didn't even know you could say pytest as a command line.
For me it's actually a little slower / more annoying to test -- pyte<TAB> vs py.<TAB>. But I definitely appreciate having just one name to say rather than two slightly different names that apply in different contexts.
Our type-checking unit tests all run under pytest, and some others run under myunit.
For doing development, one generally pretty quickly wants to start running individual tests, or passing flags like
py.test --verbose
,-s
, or-x/--exitfirst
. That means runningpy.test
directly, or runningmyunit
directly for those tests that are under myunit. (There is a way to wrap them to send throughruntests.py
, but that's more complicated.)Currently the mention in
test-data/unit/README.md
of running pytest directly is short and easy to gloss over. We should make it more of a focus.The text was updated successfully, but these errors were encountered: