Replacing Manual Verification with Gold Master Tests

[article]

the right thing is actually easy.

 

 

Bonus Tip:

IntelliJ IDEA has a great visual comparison tool which shows you the highlighted differences between two multiline Strings when you compare using JUnit's assertEquals() method. While the text JUnit runner-based assertEquals() failure message does summarize the differences succinctly, we found the visual diff offered by IntelliJ to be much easier to read for these Gold Master tests.

User Comments

1 comment
Anonymous's picture
Anonymous

I've found this to be true over and over again. In fact I use gold master testing all the time thanks to the approval tests jar. Check it out...<br><br>www.approvaltests.com

November 16, 2009 - 3:25pm

About the author

AgileConnection is one of the growing communities of the TechWell network.

Featuring fresh, insightful stories, TechWell.com is the place to go for what is happening in software development and delivery.  Join the conversation now!