Closed brent-hoover closed 8 years ago
I ended up doing a variation of this PR with a subcommand.
$ reaction test
# runs this...
SERVER_TEST_REPORTER="dot" meteor test --once --full-app --headless --driver-package dispatch:mocha
$ reaction test unit
# runs this...
SERVER_TEST_REPORTER="dot" meteor test --once --headless --driver-package dispatch:mocha
Since the code for both of those commands was almost identical, I figured it made sense to just parse the subcommand in one place and change the one arg that's different (--full-app
) in the final command. Should also be easy to extend this as needed in the future.
Thanks for the idea!
Hopefully we can start adding some unit tests too