GithubHelp home page GithubHelp logo

seandunford / intern-examples Goto Github PK

View Code? Open in Web Editor NEW

This project forked from theintern/intern-examples

0.0 2.0 0.0 323 KB

A collection of examples for the Intern testing library

Home Page: theintern.io

HTML 18.25% JavaScript 78.76% CSS 1.98% Shell 1.01%

intern-examples's Introduction

intern-examples

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.

Note: Most examples require SAUCE_USERNAME and SAUCE_ACCESS_KEY in your PATH. Get Sauce Labs credentials by getting a free or a paid Sauce Labs account. If you don't want to sign up with Sauce Labs, then update the test configuration, set useSauceConnect: false, set the appropriate Selenium version and don't forget to run the Selenium server.

Examples

Backbone Application

See backbone-example folder and the associated README. This example showcases both unit tests and functional tests that work locally and remotely via Sauce Labs. It is based on the TodoMVC Backbone Example. This example will generate an HTML code coverage report in the html-report directory.


Dojo Application

See dojo-example folder and the associated README. This example showcases both unit tests and functional tests that work locally and remotely via Sauce Labs. It is based on the TodoMVC Dojo Example.


Ember Application

See ember-example folder and the associated README. This example showcases both unit tests and functional tests that work locally and remotely via Sauce Labs. It is based on the TodoMVC Ember Example.


jQuery Application

See jquery-example folder and the associated README. This example showcases both unit tests and functional tests that work locally and remotely via Sauce Labs. It is based on the TodoMVC jQuery Example.


React Application

See react-example folder and the associated README. This example showcases both unit tests and functional tests that work locally and remotely via Sauce Labs. It is based on the TodoMVC React Example.


Parallel Example

Using bash to run multiple instances of intern locally


Using Intern with Grunt

Grunt support is built into Intern, all you have to do is include the task in your Gruntfile using grunt.loadNpmTasks('intern');.

See grunt-example folder for an example of how to use it or read the task documentation.


Using Intern with Travis CI

See travis-ci-example folder and the .travis.yml in the root of this repository.

Running examples:


Using Cloud Testing Providers (BrowserStack, Sauce Labs, Testing Bot)

Each of the examples within this repository can be switched from running tests locally to using a cloud testing provider by setting the relevant Cloud testing Intern settings within the Intern config for that example.


External Examples

From the Wiki

Other Resources

Intern Wiki :: Intern Website

Got Examples?

If you have examples of using Intern in your projects, please file an issue and we will try to add it to this list.

intern-examples's People

Contributors

bitpshr avatar csnover avatar davestein avatar dylans avatar jason0x43 avatar shama avatar tomwayson avatar vladikoff avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.