You deserve some help, get an Intern

Download Intern from GitHub

or just run npm install intern

What can it do?

Write tests in JavaScript and TypeScript using any style you like (TDD, BDD, whatever!).

Run tests straight from your browser, right in Node.js, or against many browsers & platforms at the same time with the Intern test runner.

Get full code coverage reporting so you know what’s left to test.

Seamlessly run tests on Sauce Labs, BrowserStack, TestingBot, or your own Selenium Grid.

Ready for continuous integration? Intern fully integrates with Travis CI, Jenkins, and TeamCity out of the box.

How does it compare?

See all features
Intern AVA BusterJS Jasmine Jest Mocha Nightwatch QUnit Wdio
Includes unit testing
Includes functional testing
Comes with TypeScript typings
Includes code coverage analysis
Runs tests in parallel for improved performance
Uses true1 browser events
Supports AMD natively
Runs stand-alone2 in browsers
Tests Node.js code
Supports multi-level source maps
Can be used with any3 assertion library
Includes multiple test interfaces
Lets you write your own custom test interfaces
Lets you write your own custom reporters
Uses Promises for asynchronous testing
Uses standard WebDriver APIs
Automatically handles Selenium server bugs
Tests native mobile apps
Built-in support for multiple CI services
Built-in support for multiple cloud testing services
Comes with Grunt tasks
Gets your coffee and makes photocopies
Supported out-of-the-box
Supported via plugin/extension
Supported via third party library

1: True events are not generated by JavaScript within the sandbox, so are able to accurately emulate how a user actually interacts with the application. Synthetic events generated by other test frameworks are limited by browser security restrictions.

2: Stand-alone means that unit tests can be executed in a browser by navigating to a URL without needing any special HTTP server or proxy for support.

3: If it throws an error on failure, it works with Intern.

Who uses it?

Does it work with ?

You bet! No matter what library or framework your application uses, client–side and server–side, you can test it with Intern! Check out our example projects to see how simple it is to get Intern up and running with many popular JavaScript libraries.

Ok, but what about docs?

Intern’s comprehensive documentation will walk you through everything you need to know. Detailed tutorials, examples, API information and more await you in the user guide.

What if I need help?

Don’t stress if you get stuck and need a little assistance. Free, community-provided Intern support is always available. SitePen also offers workshops and On-Demand Development assistance for Intern if you need a little extra TLC.

Community help

Stack Overflow Gitter IRC

Bugs and feature requests