Geek Articles

Categories

 

Subscribe

Daily Updates Subscribe geekarticles update via email Subscribe geekarticles update via RSS

 
GeekArticles Testing Test Approach

Test-Driven Development in .NET

Author: codeproject.com | Published: 12th Aug 2005 | Visited: 872 times | Add Comment
Filed in: Test Approach

Although developers have been unit testing their code for years, it was typically performed after the code was designed and written. As a great number of developers can attest, writing tests after the fact is difficult to do and often gets omitted when time runs out. Test-driven development (TDD) attempts to resolve this problem and produce higher quality, well-tested code by putting the cart before the horse and writing the tests before we write the code. One of the core practices of Extreme Programming (XP), TDD is acquiring a strong following in the Java community, but very little has been written about doing it in .NET.

Read Article
 

Sponsored Links

 


Related Articles

 Swing Extreme Testing - Outline of the Unit Test Outline of the Unit Test The things we want to test are: Initial settings: The text field is empty. The text field is a sensible size. The Ok button is disabled. The Cancel button is enabled. The dialog is a sensible size. ...

 Swing Extreme Testing - Unit Test Infrastructure Unit Test Infrastructure Having seen the broad outline of the test class and the UI methods needed, we can look closely at the implementation of the test. start with the UI Wrapper class and the init() and cleanup()method ...

 Swing Extreme Testing - The Constructor Test The Constructor Test A freshly constructed SaveAsDialog should be in a known state, and we need to check the things we listed at the start of this chapte ...

 Swing Extreme Testing - The wasCancelled() Test The wasCancelled() Test The first of our API tests is to check the wasCancelled() method. We will basically do three investigations. The first test will call wasCancelled()before the dialog has been cancelled. The second test will cancel the dialog and then call the method. In the third test we wil ...

 Swing Extreme Testing - The Data Validation Test The Data Validation Test The Ok button of the SaveAsDialog should only be enabled if the name that has been entered is valid. A name can be invalid if it contains an illegal character, or if it has already been use ...

 Learning Website Development with Django Learning Website Development with Django Book Review Websites are usually visited because of the information they can give. Even in page ranking of Google which indices website according to importance, those websites that provides the most number of articles or has the greatest number of discussions ...

 Top 10 Delphi Web Development Tools in Delphi Top Picks :: With the release of .NET Microsoft forced developers to think more of Web development as the number one job description in the future. Let's se ...

 Learning Website Development with Django Learning Website Development with Django Book Review Websites are usually visited because of the information they can give. Even in page ranking of Google which indices website according to importance, those websites that provides the most number of articles or has the greatest number of... Visit h ...

 Maximizing Your Java Application Development While Java helps in fulfilling the promise of "write once, use anywhere," there are practical concerns developers need to address in developing their c ...

 New Platform Security Tweaks Nokia's Python for S60 Application Development Find out how the new platform security features affect Python for S60, what your development options will be, and how to perform native extendi ...



Next: The Unified Modeling Language Testing Framework



Post Comment

Name:


Email:
 (Optional. Used for Notification)

Title:

 
Comment:


Validation Code:
 <=>  (Enter this code in text box)





Latest Articles

 

Popular Articles

Sponsored Links