Junit Books

Showing 1-12 of 12
JUnit in Action, Second Edition JUnit in Action, Second Edition (Paperback)
by (shelved 4 times as junit)
avg rating 3.54 — 125 ratings — published 2003
Rate this book
Clear rating
Practical Unit Testing with JUnit and Mockito Practical Unit Testing with JUnit and Mockito (Paperback)
by (shelved 2 times as junit)
avg rating 4.22 — 105 ratings — published 2013
Rate this book
Clear rating
Pragmatic Unit Testing in Java with JUnit Pragmatic Unit Testing in Java with JUnit (Paperback)
by (shelved 2 times as junit)
avg rating 3.66 — 272 ratings — published 2003
Rate this book
Clear rating
JUnit Pocket Guide JUnit Pocket Guide (Paperback)
by (shelved 2 times as junit)
avg rating 3.60 — 40 ratings — published 2004
Rate this book
Clear rating
Java Unit Testing with JUnit 5: Test Driven Development with JUnit 5 Java Unit Testing with JUnit 5: Test Driven Development with JUnit 5 (Kindle Edition)
by (shelved 1 time as junit)
avg rating 4.00 — 17 ratings — published
Rate this book
Clear rating
Test Driven: Practical TDD and Acceptance TDD for Java Developers Test Driven: Practical TDD and Acceptance TDD for Java Developers (Paperback)
by (shelved 1 time as junit)
avg rating 3.85 — 163 ratings — published 2007
Rate this book
Clear rating
Test-Driven Development: By Example Test-Driven Development: By Example (Paperback)
by (shelved 1 time as junit)
avg rating 4.10 — 4,409 ratings — published 2002
Rate this book
Clear rating
xUnit Test Patterns: Refactoring Test Code xUnit Test Patterns: Refactoring Test Code (Hardcover)
by (shelved 1 time as junit)
avg rating 3.94 — 687 ratings — published 2003
Rate this book
Clear rating
Testing with JUnit Testing with JUnit (Kindle Edition)
by (shelved 1 time as junit)
avg rating 3.20 — 10 ratings — published 2015
Rate this book
Clear rating
Mastering Unit Testing Using Mockito and JUnit Mastering Unit Testing Using Mockito and JUnit (Paperback)
by (shelved 1 time as junit)
avg rating 3.33 — 9 ratings — published 2014
Rate this book
Clear rating
JUNIT JUNIT (Paperback)
by (shelved 1 time as junit)
avg rating 0.0 — 0 ratings — published 2007
Rate this book
Clear rating
JUnit Recipes: Practical Methods for Programmer Testing JUnit Recipes: Practical Methods for Programmer Testing (Paperback)
by (shelved 1 time as junit)
avg rating 3.49 — 49 ratings — published 2004
Rate this book
Clear rating


“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