Caveo
Caveo is a light-weight test-runner for evaluating in parallel a system organized such that tests can be members of domains, features, and sub features.
Setup
npm install --save-dev caveo
Scaffolding
Caveo has support for a global scaffold process. To leverage it add a --scaffold path\to.file
flag to the process execution. It will then look for a buildUp
method being exported from the file and run those before all tests. Sample file below
module.exports = {
buildUp: () => {
}
}
Usage
const { domain, ...caveo } = require('caveo');
const { expect } = require('chai');
domain('My Domain', ({ feature }) => {
feature('My Feature', ({ test }) => {
test('does a thing', () => {
expect(1).to.equal(1);
});
});
});