Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/grmartin/c-sharp-mvc4api-unit-test-example-project
C# MVC 4 API Unit Test Example Project
https://github.com/grmartin/c-sharp-mvc4api-unit-test-example-project
csharp mvc-framework mvc4 unit-testing
Last synced: about 10 hours ago
JSON representation
C# MVC 4 API Unit Test Example Project
- Host: GitHub
- URL: https://github.com/grmartin/c-sharp-mvc4api-unit-test-example-project
- Owner: grmartin
- License: unlicense
- Created: 2013-11-21T21:14:46.000Z (almost 11 years ago)
- Default Branch: master
- Last Pushed: 2013-11-27T17:14:58.000Z (almost 11 years ago)
- Last Synced: 2024-04-15T01:19:24.751Z (7 months ago)
- Topics: csharp, mvc-framework, mvc4, unit-testing
- Language: JavaScript
- Size: 10 MB
- Stars: 0
- Watchers: 2
- Forks: 7
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
C# MVC 4 API Unit Test Example Project
=========================================The following must be run using the `Developer Command Prompt for VS2013` or by executing the following in a command prompt beforehand from the root of the project:
C:\Program Files\Microsoft Visual Studio 12.0\Common7\Tools\VsDevCmd.batTo build the project:
msbuild ci.build /t:Jenkins
To test the project (Must be built first):
mstest /testcontainer:MvcApplicationTest.Tests\bin\Debug\MvcApplicationTest.Tests.dll### Jenkins/Hudson ###
Running in a CI environment can be rough. The following observations may assist you.If you are running a newer VisualStudio ('10 SP1, '12 or '13) you can save yourself some time by using the MSBuild installation geared to your version. This can be found at:
C:\Program Files\MSBuild\12.0\Bin\MSBuild.exe
Of course substituting `Program Files` for `Program Files (x86)` where necessary and `12.0` for whatever version you are running.
- Visual Studio 2010 = 10.0
- Visual Studio 2012 = 11.0
- Visual Studio 2013 = 12.0