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

@dojo/cli-test-intern

Package Overview
Dependencies
Maintainers
1
Versions
50
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@dojo/cli-test-intern

Test a Dojo 2 application

  • 2.0.0-alpha.1
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

cli-test-intern

The official Dojo 2 test command.

Features

Builds and runs test cases for a Dojo 2 application. This module assumes that your project is structured as it would be if created by dojo create. Specifically, src and tests should be in the root of the project directory, and tests should have functional and unit folders with all.ts files in each that import other tests.

How do I use this package?

To build and run tests locally, just execute dojo test in your project. There are several configuration options, to see what options are available run dojo test -h

How do I contribute?

We appreciate your interest! Please see the Dojo 2 Meta Repository for the Contributing Guidelines and Style Guide.

Testing

Test cases MUST be written using Intern using the Object test interface and Assert assertion interface.

90% branch coverage MUST be provided for all code submitted to this repository, as reported by Istanbul’s combined coverage results for all supported platforms.

To test locally in node run:

grunt test

Licensing information

© 2004–2017 JS Foundation & contributors. New BSD license.

FAQs

Package last updated on 25 Jan 2017

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