curl https://raw.githubusercontent.com/joelgriffith/scriptin99/master/latest.tar.gz | tar -xf- -C ./ && npm i
Build JavaScript that runs in any JavaScript environment. Run tests in every browser. Use the latest tools and technologies (like rewire). All of this in a simple, succint command-line interface.
Test in any browser you want to. IE6+, Android 2+, and even non-standard browsers. Use karma loaders to easily start any browser, or just visit the test URL.
Scriptin'99 plays well with just about any 3rd party testing service. Browserstack and SauceLabs both intergrate nicely.
Using your os-level notification system, Scriptin'99 will automatically tell you when your test begin to fail.
Scriptin'99 allows you to dynamically inject modules under any var
name you can think of ($ much?). It even let's you mock your modules dependencies in tests, letting you limit your testing area.
Comes out-of-the-box with Istanbul pre-installed. Get valuable metrics on where your code isn't covered, and see how you can improve.
- Install node.js
mkdir myproject && cd myproject
curl raw.githubusercontent.com/joelgriffith/scriptin99/master/latest.tar.gz | tar -xf- -C ./
npm i
npm run dev
Start a development server (to bundle your code, watch for changes, and run Karma). Out of the box, this will watch for changes in src
and in test/**/*.mspec
for both bundling and testing, respectively.
npm run build
Bundles up your JavaScript and runs all unit tests once. No watches or continuous integration servers are started.
npm run test
Run your unit-tests once and exit. No watches or continuous integration servers are started.
npm run help
Prints out all the options available in Scripting99.