buster-win

Temporary Windows harness for busterjs (A browser JavaScript testing toolkit) until v1 is released with full support.

buster-win

Temporary Windows harness for busterjs (A browser JavaScript testing toolkit) until v1 is released with full support.

npm install buster-win

Install buster-win alongside buster. Buster-Win simply acts as a Windows test runner.

buster-win will execute all tests in a folder, matching a specified pattern.

  • Create a folder for your tests. Example: "test".
  • Write tests using busterjs (http://busterjs.org/).
  • Inside that folder create a file "index.js" with the code below.
    var BusterWin = require('buster-win');
    var busterWin = new BusterWin({ tests: /-test\.js$/i });
    busterWin.run(__dirname);
  • Run the following command where "test" is the name of the folder containing your tests.
node test