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

https://github.com/slavede/javacro14angularjs

Session I gave at JavaCro14 about unit testing in AngularJS has simple project that has everything implemented that was said at session
https://github.com/slavede/javacro14angularjs

Last synced: 3 months ago
JSON representation

Session I gave at JavaCro14 about unit testing in AngularJS has simple project that has everything implemented that was said at session

Awesome Lists containing this project

README

          

## JavaCro 14 AngularJS Unit Testing ##

Session I gave at JavaCro14 about unit testing in AngularJS has simple project that has everything implemented that was said at session.

Here's presentation:

http://www.slideshare.net/slaventomac/slaven-tomac-unit-testing-in-angular-js

### Installation ###

```javascript
git clone https://github.com/slavede/javacro14angularjs.git
npm install
bower install
```

### Running local server ###

```javascript
grunt expressServerLocal (runs it on localhost)
grunt expressServerRemote (runs it on 0.0.0.0)
```

### Running tests ###
There are tree main configuration files for running tests:


  • karma-chrome.conf.js - runs tests on Chrome (without coverage report)

  • karma-phantomjs.conf.js - runs tests on PhantomJS (without coverage report)

  • karma-jenkins.conf.js - runs tests on PhantomJS (with coverage report)

    • #### How to run tests ####
      After npm install, karma will be installed in your node_modules folder so you should run them with:
      ```javascript
      start
      ```