Coder Social home page Coder Social logo

angularjs-testing-article's Introduction

AngularJS - Testing Article

This is a helper repository which is designed to be used alongside the blog article on yearofmoo.com.

Blog Article

Click the link below to view the blog article which explains exactly what and how this application is used.

http://www.yearofmoo.com/2013/01/full-spectrum-testing-with-angularjs-and-karma.html

Demo

The Application can be demoed via:

http://yearofmoo-articles.github.com/angularjs-testing-article/app/

Using the application

Install grunt npm install -g grunt-cli

And then be sure to install everything that the repo requires: npm install bower install

Development Mode

Run the following command to start the server grunt server

Then run this to watch the files and update assets grunt

You can now access the website at http://localhost:8000

Test

Single Run Tests

Start the server to run e2e tests grunt server

You can run individual test suites by running the commands: grunt test:unit grunt test:midway grunt test:e2e

Or everything in order: grunt test

Auto watching tests

When watching tests, any save to a spec file will trigger karma to run the tests again for the specific test suite that is active at the time.

Start the server to run e2e tests grunt server

You can watch only watch one test suite a time. grunt autotest:unit grunt autotest:midway grunt autotest:e2e

angularjs-testing-article's People

Contributors

matsko 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.