0.0.2 • Published 12 years ago

anvil.jasmine v0.0.2

Weekly downloads
2
License
-
Repository
github
Last release
12 years ago

anvil.jasmine

This plugin for anvil will run jasmine.js tests.

The test directory by convention will be the spec directory.

To install this plugin via anvil, simply run...

anvil install anvil.jasmine

Then add any tests to spec such as sometest.spec.js.

Now you can run...

anvil -j

And the tests will be run alongside your anvil build.

To have the tests run with every anvil run, add the following to your build.json.

{
    "anvil.jasmine": {
        "alwaysRun": true
    }
}

Here are the default config values for anvil.jasmine...

config: {
    specDir: "spec",
    verbose: false,
    showColors: true,
    teamCity: false,
    requireJs: false,
    coffee: false,
    jUnitSupport: false,
    alwaysRun: false
}
0.0.2

12 years ago

0.0.1

12 years ago