Sample AngularJS application using ASP.NET MVC 4, with Jasmine tests that can be run in Visual Studio.
Solution 'Tasks'
Tasks
Tasks.Tests
Tools
- Tasks - ASP.NET MVC 4 project. This contains a WebAPI backend that used
Cache
to manage a list of people and some tasks. Have a look in theContent
directory for JavaScript implementation. The backend is a typical REST implementation. There'sPOST
,PUT
, andDELETE
of task instances. - Tasks.Tests - This project contains webapi integration tests and Jasmine specifications for the JavaScript implementation. It is setup to run PhantomJS, a headless WebKit. Using PhantomJS we can pretty simply execute the Jasmine specifications within Visual Studio. This is done using a post-build step. It is easily integrated with a continuous integration platform (i.e. TeamCity).
- Tools - Contains PhantomJS executable.
Daniel Lidström (dlidstrom@gmail.com)
Feel free to contact me with any questions regarding this project.
MIT