This package has been deprecated

Author message:

Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.

coffeekraken-testing-stack

0.0.4 • Public • Published

Testing Stack

The purpose of this package is to provide a high level API for unit, BDD, performance, etc testing. His goal is to simplify your life by installing all the dependencies needed, let you just write your tests and run them without headache.

Provided features

  • Simple testing config through .testsconfig JSON file
  • Testing using Karma
    • Automatically pack and compile ES6 js tests to ES5 using Webpack and Babel
  • Performance tracking
    • coming soon

Install

npm install coffeekraken-testing-stack --save-dev

Usage

Set your test script in your package.json file like this

{
    "scripts" : {
        "test" : "coffeekraken-testing-stack"
    }
}

Configuration

The configuration pass by creating a .testsconfig file at thr root of your project, just like a .babelrc or any other tools out there

{
    "karma" : {
        "files" : [
            "tests/**/*.js"
        ],
        "browsers" : ["PhantomJS"],
      "others karma config..."
    },
    "performance" : {
        "coming soon"
    }
}

See karma available configurations

By default, the karma package will use mocha as testing framework, but you can as well change that by overriding the configuration. Don't forget to install tha packages needed here

Performance

feature coming soon

Package Sidebar

Install

npm i coffeekraken-testing-stack

Weekly Downloads

0

Version

0.0.4

License

MIT

Unpacked Size

794 kB

Total Files

29

Last publish

Collaborators

  • olivierbossel