Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
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
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: 32499
    
214

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


[OCA 8 book] [Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Other Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, TOGAF part 1 and part 2
Sanjoy Kumar Roy
Greenhorn

Joined: Jun 10, 2011
Posts: 9
Thanks Jeanne, for the additional tip.
 
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com
 
subject: Tips to improve test readability
 
jQuery in Action, 3rd edition