Skip to content

Latest commit

 

History

History
 
 

example

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

AngularJS Example Applications

Each sample application satisfies all of the unit test patterns available, from controllers to filters. To run the test patterns against the example applications use: npm run testExamples. This task extracts the test patterns from the markdown files and generates a jasmine unit test file for each of the supported code languages. Once this is done the generated specs are run against the example application using karma just as a normal AngularJS application would be.

Example applications are provided in the following languages:

Please Note: that these examples are configured into a single file to be succinct... not maintainable. You'll want to break your application out into separate files and folders as needed.

Read more about how test patterns are used and created.