Socket
Socket
Sign inDemoInstall

dry-test

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

dry-test

The DRY Test Framework


Version published
Weekly downloads
2
Maintainers
1
Weekly downloads
 
Created
Source

This is a test runner binary, it works on filename conventions. It's backed by mocha.

npm install dry-test

# dry-test [-v] [files] [--mocha [<mocha args>]]

The binary will pickup all files names *.test.js and .test.tjs in your current working tree. It ignores node_modules on the file tree walk. It will compile the .tjs (tamejs) files to hidden files, ie ..test.tjs in the same path as the original file. It will then pass all the files to mocha to test.

It does a walk of the file system every time, so I imagine it runs pretty slow with a bunch of test files on a conventional HD. If you do builds of anything, buy an SSD. Seriously.

By default it runs with qunit style tests and the dot reporter, however you can pass whatever args you want to mocha with the --mocha argument.

FAQs

Package last updated on 02 Oct 2019

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