Did you know that you no longer have to do some complicated command line incantation to run mochi-style tests? Ted recently landed support for make mochitest-plain
, make mochitest-chrome
, make mochitest-a11y
, and make mochitest-browser-chrome
. Today, I just pushed support to specify the --test-path
parameter of old. To use it, just add TEST_PATH=your/path/here
to the make command line.
For those of you who are used to running browser tests, you no longer have to worry about adding in the ../browser
bits to the path either. The makefile handles it all for you. Hurray!
One reply on “New way to run tests”
Wow, this is a life-saver! Thanks for sharing this.