Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

caveo

Package Overview
Dependencies
Maintainers
1
Versions
16
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.4.1
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
1.2K
increased by15.35%
Maintainers
1
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 14 Dec 2021

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc