An open API service indexing awesome lists of open source software.

https://github.com/theintern/intern-examples

A collection of examples for the Intern testing library
https://github.com/theintern/intern-examples

Last synced: about 1 year ago
JSON representation

A collection of examples for the Intern testing library

Awesome Lists containing this project

README

          

# intern-examples

[![Intern](https://theintern.io/images/intern-v3.svg)](https://github.com/theintern/intern/tree/3.4/)
[![Intern](https://theintern.io/images/intern-v4.svg)](https://github.com/theintern/intern/tree/master/)
![](https://api.travis-ci.org/theintern/intern-examples.svg?branch=master)


Intern logo


[Intern](https://github.com/theintern/intern) is a complete test system 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.

This repository is a collection of examples of using Intern in web applications. Use these examples as your guide to integrate Intern into your projects! Every example has a README that will guide you through the process of setting it up.

## Intern 4 Examples

* [Dojo](./dojo-example)
* [Electron](./electron-example)
* [jQuery](./jquery-example)
* [React with Enzyme](./react-enzyme-example)
* [TypeScript](./typescript-example)
* [Grunt](./grunt-example)

## Intern 3 Examples

Each of the examples can be switched from running tests locally to using a cloud testing provider by setting the relevant [Cloud testing Intern settings](https://theintern.github.io/intern/#hosted-selenium) within the Intern config for that example.

* [Backbone](./backbone-example)
* [React](./react-example)
* [Parallelized Intern](./parallel-example)
* [Travis CI](./travis-ci-example)

## External Examples

Intern 4 hasn’t been out for very long yet, so most of these are still based on Intern 3.

* [Cassowary JS](https://github.com/slightlyoff/cassowary.js/)
* [jQuery PEP](https://github.com/jquery/PEP/tree/master/tests)
* [Official Intern Tutorial](https://github.com/theintern/intern-tutorial)
* [Tutorial from ArcGIS](https://github.com/stdavis/intern-tutorial-esri-jsapi)
* [Firefox Accounts JS Client testing example](https://github.com/mozilla/fxa-js-client/tree/master/tests)

## Contributing

We welcome contributions of new examples, or improvements/updates to existing examples. Just fork this repo, add your example to a new branch, and make a PR. Note that like most open source projects, we require everyone to sign a [contributor license agreement](https://js.foundation/CLA/) when making non-trivial PRs.

© [SitePen, Inc.](http://sitepen.com) and its [contributors](https://github.com/theintern/intern/graphs/contributors)