We use Asp.Net 2.0 and plan to switch to TDD so that the middle tier can be developed and tested, while others in the team are involved in the area of user interface and database.
Can someone kindly tell me the prerequisites for TDD and which one is the best tool for .net? Thanks...
[UPDATE]
Thank you all for your answers and help.
I read an article on TDD and ASP.NET, and he said that "ASP.NET is not very TDD friendly, and ASP.NET MVC is an alternative way to create your application that is more testable than a form application =. Should I switch / modify ASP.NET MVC?
What books do you recommend regarding TDD / Test?
I suggest you combine NUnit and Moq to mock an object. You will need more effort to conduct unit testing in your web form application.
The fact is that you cannot miss these two.
, Asp.net MVC, . , MVC - - Asp.net. . , .
NUnit . , XUnit Machine.Specification BDD.
, , .
TestDriven.NET - Visual Studio, . MbUnit, NUnit - Rhino.Mocks Moq, .
, "The Art of Unit Testing" . ASP.NET , , , . Mocking, .alt text http://www.artofunittesting.com/@api/deki/site/logo.png
/ , , ASP.NET. ASP.NET - , -. , , MVC, MVP MVVM.
Asp.net MVC - , , , , ASP.NET. , , , .
, , , , . - ...
spring . LiveUI. , . , .
, NUnit.
NUnit , , , XUnit.NET. , , . , XUnit.NET , ( ) , , BDD "".
XUnit.NET "" , BDD. ... , . , : SubSpec. Phil Haack, Microsoft, , BDD.
XUnit.NET, Moq . XUnit.NET, Moq - , , , , -, / ..
( , ). / , , . Fitnesse. , -. , .
# NUnit - , NUnit, .
In addition, ASP.NET MVC in action can start working with ASP.NET MVC and also show you how to unit test your controller code.
Source: https://habr.com/ru/post/1721846/More articles:Debugging a WCF service library - how to start it? - debuggingUsing FastZip for a Zip directory and including only certain types of files (file filtering) - c #web chart with hover events - pythonHow to integrate an external process that is repeatedly called in Java Webapp? - javaClass Design: Serializing Inside a Domain or Helper Class Object - designКак я могу манипулировать сопоставлениями обработчиков в IIS7 с использованием пространства имен Microsoft.Web.Administration? - c#https://translate.googleusercontent.com/translate_c?depth=1&pto=aue&rurl=translate.google.com&sl=ru&sp=nmt4&tl=en&u=https://fooobar.com/questions/1721848/upgrades-to-drupal-in-production&usg=ALkJrhiieL6d62TiPevTwAUiPNVRZRo0wgConfiguring response content type in Struts2 - javaHow to include a view in another view in cakephp - cakephpScriptManager1.AsyncPostBackErrorMessage не показывает сообщение об ошибке - asp.netAll Articles