Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jfoshee/nqunitexample
Illustrates how to execute Javascript tests along with standard Visual Studio .NET unit tests
https://github.com/jfoshee/nqunitexample
Last synced: about 2 months ago
JSON representation
Illustrates how to execute Javascript tests along with standard Visual Studio .NET unit tests
- Host: GitHub
- URL: https://github.com/jfoshee/nqunitexample
- Owner: jfoshee
- Created: 2011-10-29T16:36:28.000Z (about 13 years ago)
- Default Branch: master
- Last Pushed: 2011-11-28T18:33:15.000Z (about 13 years ago)
- Last Synced: 2023-03-11T11:46:47.183Z (almost 2 years ago)
- Language: JavaScript
- Homepage:
- Size: 18.5 MB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.markdown
Awesome Lists containing this project
README
NQUnit Example
==============This is an example of how to run javascript tests within a .NET project.
The javascript tests use QUnit. These tests are launched using NQUnit.
NuGet is used to manage the dependencies.The majority of the code is boilerplate that you might need to do something similar.
### Usage
- Open the solution
- Run all tests (Ctrl+R, A)
- You should see Internet Explorer open and close in the taskbar
- You should get a failing test: ```Assert.AreEqual failed. Expected:. Actual:.```
- If you want to see the tests passing, correct the js test in ExampleTest.html
- Feel free to contact me or open an issue if you have trouble### Acknowledgements
- Thanks to John Resig, Jörn Zaefferer for QUnit
- Thanks to Robert Moore for NQUnit