Skip to content

AngularJSHyderabad/AngularJS-Jasmine-Karma

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

##Running the sample code The sample code doesn't have UI. It has a set of files with some AngularJS code and corresponding test files.

To run the sample, open a command prompt and execute the following commands:

  • npm install (to install karma package)
  • npm install -g grunt-cli (to install grunt cli globally)
  • npm install -g karma-cli (to install karma cli globally)
  • bower install (to install front-end packages)
  • grunt (to start karma and run tests)

Ravi's SitePoint article on Mocking dependencies in AngularJS tests: http://www.sitepoint.com/mocking-dependencies-angularjs-tests/

About

Basics of using jasmine as a testing framework to test angular apps with karma/grunt

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • JavaScript 100.0%