13.07.2015 Views

Java™ Application Development on Linux - Dator

Java™ Application Development on Linux - Dator

Java™ Application Development on Linux - Dator

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Chapter 13JUnit:Automating Unit TestingTesting may not be your favorite task as a programmer; it probably rates justabove documentati<strong>on</strong>. Yet here is a tool that has made testing more bearableand more productive for many Java developers—and not just because it haspretty colors and flashing lights.13.1WHAT YOU WILL LEARN• What JUnit is and why it’s getting so much attenti<strong>on</strong>.• How some people test before they start coding.• How to install and invoke JUnit.• The major JUnit c<strong>on</strong>cepts that you need to understand.• What asserti<strong>on</strong>s are available in JUnit.295

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!