New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

deca

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

deca

A minimalistic test runner

  • 0.1.1
  • latest
  • npm
  • Socket score

Version published
Weekly downloads
1
decreased by-50%
Maintainers
1
Weekly downloads
 
Created
Source

Deca

A minimalistic JS test runner, inspired by mocha's interface

deca [spec..]

Run tests with Deca

Rules & Behavior
  -b, --bail                 Abort ("bail") after first test failure   [boolean] // not implemented yet
      --delay                Delay initial execution of root suite     [boolean] // not implemented yet
      --dry-run              Report tests without executing them       [boolean] // not implemented yet
      --exit                 Force Deca to quit after tests complete   [boolean]
      --fail-zero            Fail test run if no test(s) encountered   [boolean]
      --forbid-only          Fail if exclusive test(s) encountered     [boolean] // not implemented yet
      --forbid-pending       Fail if pending test(s) encountered       [boolean] // not implemented yet
      --retries              Retry failed tests this many times         [number] // not implemented yet
  -t, --timeout, --timeouts  Specify test timeout threshold (in milliseconds)
                                                        [string] [default: 2000]

Reporting & Output
  -s, --silent                         Do not produce reporting output [boolean]

File Handling
  -r, --require            Require module              [array] [default: (none)]

Positional Arguments
  spec  One or more files to test                      [array] [default: (none)]

Other Options
  -h, --help             Show usage information & exit                 [boolean]
  -V, --version          Show version number & exit                    [boolean]

Deca Resources
  GitHub: https://github.com/arantes555/deca

FAQs

Package last updated on 15 Apr 2022

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