Auto Launcher - acadet/oscar GitHub Wiki

Ok ok, now you might tell me:

Look dude, I've more than 40 test classes. I'm not gonna append each one to a TestSuite before running them".

And you would be absolutely right!

Therefore Oscar offers you an auto-launchering feature. Have a closer look to buildLauncher.py.

In brief

python buildLauncher.py out/testing.js testing 1
# Gonna append a test suite with all classes from 'testing' folder to 'out/testing.js'.
# Output as a webpage

References

A wizard is integrated in this script. Otherwise, you can directly specify your options (all are optional):

python buildLauncher.py output.js testingSrc outputMode maxRuntime buildFailure
  • output.js: JS file where launcher will be appended (default output.js).
  • testingSrc: Source folder where all testing classes will be pulled (default .).
  • outputMode: Desired output (0 = CONSOLE - default, 1 = HTML).
  • maxRuntime: Max runtime for async tests in ms (default 30s).
  • buildFailure: If build has to fail on test failure (default true).

Awesome! You have better things to do than losing your time with foolish stuff.

:bulb: Could be useful to create a task on your server. Then, continuous integration would be so smooth!