Primary Bugs and Unit Testing
-
I want to minimize my primary Bugs as testing team is saying.I think my Unit Testing is not much effective.I like to get a few tips on that part.Please help me! [ASP.NET,C#,SQL SERVER 2008] Thanks in Advance
-
-
I want to minimize my primary Bugs as testing team is saying.I think my Unit Testing is not much effective.I like to get a few tips on that part.Please help me! [ASP.NET,C#,SQL SERVER 2008] Thanks in Advance
A very important issue is that your code must be "clean" to be testable (see also Robert Martin "Clean Code"). Classes with several thousand lines of code, functions with hundreds of lines of code are not testable. You'll have to write many small classes with small functions. That could be the hardest issue when starting.
-
A very important issue is that your code must be "clean" to be testable (see also Robert Martin "Clean Code"). Classes with several thousand lines of code, functions with hundreds of lines of code are not testable. You'll have to write many small classes with small functions. That could be the hardest issue when starting.