JUnit Pocket Guide: Quick Look-up and Advice

JUnit, created by Kent Beck and Erich Gamma, is an open source framework for test-driven development in any Java-based code. JUnit automates unit testing and reduces the effort required to frequently test code while developing it.

While there are lots of bits of documentation all over the place, there isn't a go-to-manual that serves as a quick reference for JUnit. This Pocket Guide meets the need, bringing together all the bits of hard to remember information, syntax, and rules for working with JUnit, as well as delivering the insight and sage advice that can only come from a technology's creator.

Any programmer who has written, or is writing, Java Code will find this book valuable. Specifically it will appeal to programmers and developers of any level that use JUnit to do their unit testing in test-driven development under agile methodologies such as Extreme Programming (XP) [another Beck creation].

1140203419
JUnit Pocket Guide: Quick Look-up and Advice

JUnit, created by Kent Beck and Erich Gamma, is an open source framework for test-driven development in any Java-based code. JUnit automates unit testing and reduces the effort required to frequently test code while developing it.

While there are lots of bits of documentation all over the place, there isn't a go-to-manual that serves as a quick reference for JUnit. This Pocket Guide meets the need, bringing together all the bits of hard to remember information, syntax, and rules for working with JUnit, as well as delivering the insight and sage advice that can only come from a technology's creator.

Any programmer who has written, or is writing, Java Code will find this book valuable. Specifically it will appeal to programmers and developers of any level that use JUnit to do their unit testing in test-driven development under agile methodologies such as Extreme Programming (XP) [another Beck creation].

7.99 In Stock
JUnit Pocket Guide: Quick Look-up and Advice

JUnit Pocket Guide: Quick Look-up and Advice

by Kent Beck
JUnit Pocket Guide: Quick Look-up and Advice

JUnit Pocket Guide: Quick Look-up and Advice

by Kent Beck

eBook

$7.99 

Available on Compatible NOOK devices, the free NOOK App and in My Digital Library.
WANT A NOOK?  Explore Now

Related collections and offers


Overview

JUnit, created by Kent Beck and Erich Gamma, is an open source framework for test-driven development in any Java-based code. JUnit automates unit testing and reduces the effort required to frequently test code while developing it.

While there are lots of bits of documentation all over the place, there isn't a go-to-manual that serves as a quick reference for JUnit. This Pocket Guide meets the need, bringing together all the bits of hard to remember information, syntax, and rules for working with JUnit, as well as delivering the insight and sage advice that can only come from a technology's creator.

Any programmer who has written, or is writing, Java Code will find this book valuable. Specifically it will appeal to programmers and developers of any level that use JUnit to do their unit testing in test-driven development under agile methodologies such as Extreme Programming (XP) [another Beck creation].


Product Details

ISBN-13: 9781449379025
Publisher: O'Reilly Media, Incorporated
Publication date: 09/23/2004
Sold by: Barnes & Noble
Format: eBook
Pages: 92
File size: 3 MB

About the Author

Kent Beck is the founder and director of Three Rivers Institute (TRI). He has pioneered patterns for software development, the XUnit family of test frameworks, the HotDraw drawing editor framework, CRC cards, refactoring, and most recently eXtreme Programming (XP). He is the author of Extreme Programming Explained, Planning Extreme Programming, and The Smalltalk Best Practice Patterns. He lives on 20 acres in rural southern Oregon with his wife, five children, four dogs, two sheep, and a variable number of domestic fowl.

Table of Contents

Automating Tests1
Why Test?3
Time5
"Perfect" is a Verb8
JUnit's Goals8
Fixtures12
More setUp() than tearDown()14
Variations15
Suite-Level Setup15
Testing Exceptions16
JUnit's Implementation18
JUnit API20
Overview20
Assert21
Test24
TestCase25
TestSuite26
TestResult27
Package Structure29
Test-First Programming29
Factorial Example31
Test-First Programming in Practice33
Stubs34
Stubs and Good Design35
Self-Shunting36
Other Uses for Tests37
Debugging Tests37
Learning an API with Tests38
Documenting Assumptions with Tests39
Cross-Team Tests40
Story of JUnit42
Extending JUnit45
Extensions46
JUnit and Ant47
More About Running Tests49
Formatting Feedback49
Conclusion52
Running JUnit Standalone52
Text52
AWT53
Swing55
JUnit and IDEs56
Eclipse56
JBuilder62
IntelliJ IDEA66
Test Infection72
Bibliography76
From the B&N Reads Blog

Customer Reviews