Good stuff from the guys over at the Google Testing Blog.
I had never really given much thought to naming the methods in a unit test class. But if you give it a little though, the method names by themselves can read like a list of low-level functional requirements.
Why write test methods like
I had never really given much thought to naming the methods in a unit test class. But if you give it a little though, the method names by themselves can read like a list of low-level functional requirements.
Why write test methods like
-
testClient()
or -
testURI()
or -
testRun()
testTryToInvokeServiceBehindFirewallDirect()
ortestCompiledInputCommandIsConvertedAndDispatched()
ortestWriteDataToFile()
?
2 comments:
A software testing engineer is entrusted with the task of ratifying the software for eliminating design errors and other flaws associated with the development process.STC Technologies
Good old Uncle Bob talking about related topic of TDD. http://ht.ly/pchcF
Post a Comment