Hi,
I wrote a series of articles about unit testing and test driven development explaining it for the beginner programmers on my blog.
See if you can benefit from it as well.
Subjects in the series:
Half the code examples are in classic unit testing approach and the other half in test driven development way.
The first article is here:
http://tomasz-kluczkowski.com/unit-testi...se-part-1/
Take care,
Tomasz
I wrote a series of articles about unit testing and test driven development explaining it for the beginner programmers on my blog.
See if you can benefit from it as well.
Subjects in the series:
- What is unit testing and why to use it
- How to isolate objects properly using Mocks
- How to test only through the use of the interface and not bind yourself to the current implementation
- How to avoid writing redundant tests
- What is test driven development and why to use it
- How are different types of messages tested
- How to test custom exceptions
Half the code examples are in classic unit testing approach and the other half in test driven development way.
The first article is here:
http://tomasz-kluczkowski.com/unit-testi...se-part-1/
Take care,
Tomasz