aspose file tools*
The moose likes Testing and the fly likes Tips to improve test readability Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Engineering » Testing
Bookmark "Tips to improve test readability" Watch "Tips to improve test readability" New topic
Author

Tips to improve test readability

Sanjoy Kumar Roy
Greenhorn

Joined: Jun 10, 2011
Posts: 9
I have written a blog about test readability.

http://sanjoykr.blogspot.co.uk/2013/05/7-tips-to-make-your-tests-readable.html

Please have a look and send me any additional suggestion on test readability if you have.

Thanks
Sanjoy
Jeanne Boyarsky
author & internet detective
Marshal

Joined: May 26, 2003
Posts: 30758
    
156

Abstract assertions. For example assertBlue(color) and the assertBlue method contains three other assertions that check the color.


[Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Blogging on Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, OCAJP, OCPJP beta, TOGAF part 1 and part 2
Sanjoy Kumar Roy
Greenhorn

Joined: Jun 10, 2011
Posts: 9
Thanks Jeanne, for the additional tip.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Tips to improve test readability