caveo

1.5.7 • Public • Published

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: () => {
    // do something here
  }
}

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);
    });
  });
});

Readme

Keywords

none

Package Sidebar

Install

npm i caveo

Weekly Downloads

657

Version

1.5.7

License

ISC

Unpacked Size

42.8 kB

Total Files

19

Last publish

Collaborators

  • exzeodevops