Goodreads helps you follow your favorite authors. Be the first to learn about new releases!
Start by following Lasse Koskela.

Lasse Koskela Lasse Koskela > Quotes

 

 (?)
Quotes are added by the Goodreads community and are not verified by Goodreads. (Learn more)
Showing 1-1 of 1
“The approach shown... is a common pattern for testing exception-throwing behavior with JUnit.

@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) {
}
}

Lasse Koskela, Test Driven: Practical TDD and Acceptance TDD for Java Developers

All Quotes | Add A Quote
Test Driven: Practical TDD and Acceptance TDD for Java Developers Test Driven
164 ratings
Open Preview
Lukijan ABC-kirja: johdatus kirjallisuuden nykyteorioihin ja kirjallisuudentutkimuksen suuntauksiin Lukijan ABC-kirja
60 ratings