Nicolai Parlog 3/9/2015

Test Collection Implementations with Guava

Read Original

This technical article explains how to leverage Google's Guava Testlib to thoroughly test custom Java collection implementations, such as a custom Set. It covers setup with JUnit, adding the Guava-Testlib dependency, writing the necessary boilerplate code, and using Guava's test suite builders and element generators to validate implementations against JDK and Guava collection interfaces.

Test Collection Implementations with Guava

Comments

No comments yet

Be the first to share your thoughts!

Browser Extension

Get instant access to AllDevBlogs from your browser