Last post Nov 14, 2014 03:31 AM by AidyF
Nov 13, 2014 10:56 PM|Christxavier|LINK
Hi i do not have idea what is test driven design in MVC. please give more detail how to do that i will test.
Nov 14, 2014 03:31 AM|AidyF|LINK
Google "MVC TDD" and you'll find lots of articles, it's a big subject beyond the scope of a forum thread, but the general idea is that you write your tests first and then write the code that makes the test pass. This is the reverse of how things are normally
done where the code is written first and then the tests. When tests are written for existing code, they tend to be written in a way that ensures they will pass, so could be considered of little value.