node package manager
Don’t reinvent the wheel. Reuse code within your team. Create a free org »


Component Test

Test component(1) modules without pain and html runners. It's a configured test runner on top of testem.


$ npm install -g component-testem


Run tests in continius integration mode with phantomjs

$ component testem

Run watch server on http://localhost:7357

$ component testem --server

Help output:

  Usage: component-testem [options]
    -h, --help         output usage information
    -V, --version      output the version number
    -f, --file <name>  path to testem config (default: "test/testem.json")
    -s, --server       run watch server on http://localhost:7357
    -l, --local        test local components, set paths as free arguments
    -p, --paths        use paths to test all local components
    --no-build         do not start build server, use local build/ folder
    --show-config      show testem config. Useful for checking setup.