Socket
Socket
Sign inDemoInstall

caveo

Package Overview
Dependencies
67
Maintainers
1
Versions
15
Alerts
File Explorer

Advanced tools

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.


Version published
Weekly downloads
842
increased by11.23%
Maintainers
1
Created
Weekly downloads
 

Readme

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

Last updated on 10 Oct 2023

Did you know?

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc