Socket
Book a DemoInstallSign in
Socket

anvil.jasmine

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

anvil.jasmine

A jasmine test runner for anvil.js

latest
Source
npmnpm
Version
0.0.2
Version published
Maintainers
1
Created
Source

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
}

Keywords

anvil

FAQs

Package last updated on 02 Oct 2012

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts