RSS feed [root] /software_engineering /weblog /testing




login:

password:

title search:




 


Wed Apr 27 16:36:26 GMT 2011

refactoring unit test



Idea of how to refactoring test cases, summary :

Refactor production code with the tests passing. This helps you determine that the production code still does what it is meant to.
Refactor test code with the tests failing. This helps you determine that the test code still does what it is meant to.

http://googletesting.blogspot.com[..]07/04/tott-refactoring-tests-in-red.html

Collections of idea of testing private methods - http://www.infoq.com/news/2008/01/private-methods-tdd-design , may be it is a signal of refactoring?

The other way of testing private , via compare with difference implementation - http://manversusvirtualmachine.blogspot.com[..]1/unit-testing-private-methods-like.html

Explain the problem of non-Determinism in testing, common reason of why tests becoming non-Deterministic, and common solution - http://martinfowler.com/articles/nonDeterminism.html


(google search) (amazon search)
second
download zip of files only