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
- Host: GitHub
- URL: https://github.com/slavede/javacro14angularjs
- Owner: slavede
- License: mit
- Created: 2014-05-13T09:03:36.000Z (about 12 years ago)
- Default Branch: master
- Last Pushed: 2014-05-14T11:14:01.000Z (about 12 years ago)
- Last Synced: 2025-03-06T03:48:36.955Z (over 1 year ago)
- Language: JavaScript
- Size: 352 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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
```