A next-generation code testing stack for JavaScript.
JavaScript CSS Shell Other
Pull request Compare This branch is 8 commits ahead, 825 commits behind theintern:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
bin
lib
support
tasks
tests
typings
.gitignore
.jshintrc
.npmignore
.travis.yml
CONTRIBUTING.md
LICENSE
README.md
chai.js
client.html
client.js
main.js
order.js
package.json
runner.js
solano-pre_setup.sh
solano.yml

README.md

“Just make the Intern do the testing”

Intern is a complete test stack for JavaScript designed to help you write and run consistent, high-quality test cases for your JavaScript libraries and applications. It can be used to test any JavaScript code. Its functional testing capabilities can even be used to test non-JavaScript Web and mobile apps, if you really want.

Learn more about Intern at http://theintern.io.

Quick start

  1. Install from npm

    cd /my/project/root
    npm install intern --save-dev
    
  2. Create a copy of the example configuration file in your package’s test directory and edit appropriately. See the configuration documentation for a list of all available options.

    mkdir tests ; cp node_modules/intern/tests/example.intern.js tests/intern.js
    
  3. Verify your configuration works by running the Node.js client and seeing that no errors are output.

    node_modules/.bin/intern-client config=tests/intern
    
  4. Start writing tests! See the writing tests documentation and the Intern tutorial to learn how.

More information

Do you hate kittens and love old IE?

If you need to support IE 6–8, there is also a version of Intern for legacy browsers.

License

Intern is available under the terms of the New BSD License. All code, with the exception of portions of the assert.js library and tests in the geezer branch, is developed under the terms of the Dojo Foundation CLA.

© 2012–2013 Colin Snover http://zetafleet.com
© 2013–2014 SitePen, Inc. http://sitepen.com