coffeekraken-testing-stack
Package that expose some high level testing api
Last updated 2 years ago by coffeekraken .
MIT · Original npm · Tarball · package.json
$ cnpm install coffeekraken-testing-stack 
SYNC missed versions from official npm registry.

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

Current Tags

  • 0.0.4                                ...           latest (2 years ago)

4 Versions

  • 0.0.4                                ...           2 years ago
  • 0.0.3                                ...           2 years ago
  • 0.0.2                                ...           3 years ago
  • 0.0.1                                ...           3 years ago
Maintainers (1)
Downloads
Today 0
This Week 3
This Month 3
Last Day 0
Last Week 0
Last Month 2
Dev Dependencies (2)
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |