Unit Testing Examples for VS2010 Testing Tools

I am looking for samples (s) that demonstrate different types of unit tests in C # using best practices. I also need examples for using Visual Studio testing tools. I know that there are many books and web sources on unit testing, but they don't use Visual Studio tools to write unit tests. I do not want really basic examples, for example, to be found here . I want to go to the next level of unit testing, and I cannot find additional unit testing examples that use Visual Studio 2010 or even VS 2008.

EDIT: to be more clear; I am working on a project where I should use the testing tools built into Visual Studio. I am not looking for information about any third-party testing tools.

+3
source share
3 answers

The closest I have found so far is the corporate library ; although it is not written as a unit test tutorial, it has a large number of unit tests and code written using best practices. If no one else comes up with something better, I will mark this as an answer.

0
source

Visual Studio TDD: Test-Driven Visual Studio 2008 Unit Tests , , .

n , Microsoft unit test, , - . nAnt/nUnit CI Team Team, . , , :

NUnit Visual Studio 2010 , nUnit + VS2010, .

NUnit Visual Studio 2008 Professional 2008 .

, Rhino Mocks?

+2

Have you considered nUnit? There are many examples of advanced testing if you are betting on Google.

Edit:

I just stumbled upon another Unit Testing package, MbUnit , which seems to be aimed at more advanced testing.

+1
source

Source: https://habr.com/ru/post/1758959/


All Articles