11 books
—
1 voter
“
The approach shown... is a common pattern for testing exception-throwing behavior with JUnit.
― Test Driven: Practical TDD and Acceptance TDD for Java Developers
@Test
public void missingValueRaisesException() throws Exception {
try {
new Template("${foo}").evaluate();
fail("evaluate() should throw an exception if "
+ "a variable was left without a value!");
} catch (MissingValueException expected) {
}
}
...more
”
― Test Driven: Practical TDD and Acceptance TDD for Java Developers
Books For All Software Testing Professionals
9 members,
last active 14 years ago
79 members,
last active 10 years ago
A list of books recommended from the Conference of the Association for Software Testing, August …more
19 members,
last active 12 years ago























