Tuesday, July 19, 2011

JUnit theories (Locke's Socks)

JUnit theories (Locke's Socks)
So, theories. Whereas parameterized tests are generally built around a known set of inputs and expected outputs, a theories-based test focuses on the generalized relationship between inputs and outputs. It might help you to understand the difference if you try to recall learning about mathematical functions for the first time in junior high or high school.

No comments:

Post a Comment