🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
DemoInstallSign in
Socket

caveo

Package Overview
Dependencies
Maintainers
0
Versions
17
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

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.

1.5.9
latest
Source
npm
Version published
Weekly downloads
221
-62.73%
Maintainers
0
Weekly downloads
 
Created
Source

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

FAQs

Package last updated on 24 Feb 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts