Intern. Software testing for humans.
- 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.
Alfresco, Esri, HSBC, IBM, Intuit, Mozilla, and more
Get Intern from GitHub or just run
npm install intern now
Does it work with <library>?
What can Intern do that others can’t?
|Includes unit testing|
|Includes functional testing|
|Includes code coverage analysis|
|Runs tests in parallel for improved performance|
|Uses true1 browser events|
|Supports AMD natively|
|Runs stand-alone2 in browsers|
|Yes||Yes||Build required||Build required||Experimental||No||No|
|Tests Node.js code|
|Supports multi-level source maps|
|Can be used with any4 assertion library|
|Includes multiple test interfaces|
|TDD, BDD, object||TDD||TDD, BDD, object||BDD||TDD, BDD||N/A||Object|
|Lets you write your own custom test interfaces|
|Lets you write your own custom reporters|
|Uses Promises for asynchronous testing|
|Uses standard W3C browser testing APIs (WebDriver)|
|Automatically fixes bugs in Selenium servers|
|Tests native mobile apps|
|Includes built-in support for Travis CI, Jenkins, and TeamCity|
|Includes built-in Sauce Labs integration|
|Includes built-in BrowserStack integration|
|Includes built-in TestingBot integration|
|Comes with Grunt tasks|
|Gets your coffee and makes photocopies|
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: Some older versions of QUnit can be used in conjunction with a 3rd party module to run on Node.js, but newer versions do not support Node.js and will break even with the use of 3rd party modules.
4: If it throws an error on failure, it works with Intern.
OK, how about documentation?
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. Or, if you prefer lectures, you can watch our introductory talk from jQcon Chicago 2014.
Need some 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 commercial support for Intern if you need a little extra TLC.