O'Reilly logo

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Java Testing for Developers

Video Description

In this Java Testing for Developers training course, expert author Ian Darwin will teach you about the tools and techniques that are used to test Java software. This course is designed for users that already have some basic Java experience.

You will start by learning about dynamic testing tools, including how to write and run JUnit, test persistence with JUnit, and mock objects with JUnit. From there, Ian will teach you about Spock, advanced Spock, and test coverage. This video tutorial also covers testing web apps with JUnit-based tools, static code analysis, and FindBugs. Finally, you will learn about PMD, including how to run with Eclipse, deal with outputs, and analyze reports.

Once you have completed this computer based training course, you will have learned about the tools and techniques that are used to test Java software.

Table of Contents

  1. Testing Java Programs With Open Source Tools
    1. Introduction And Course Overview 00:02:57
    2. About The Author 00:03:15
    3. Why You Cannot Prove Your Code Correct 00:07:11
    4. Covered Tools 00:02:13
    5. Running The Examples 00:01:17
  2. Dynamic Testing Tools
    1. Dynamic Testing 00:01:27
    2. Unit Testing With JUnit 00:09:45
    3. Writing And Running JUnit 00:11:31
    4. TFD And TDD With JUnit 00:07:20
    5. Hamcrest Matchers And JUnit 00:08:05
    6. Mock Objects And JUnit 00:07:53
    7. Testing Persistence With JUnit 00:10:01
    8. On Top Of JUnit: Arquillian 00:10:39
    9. On Top Of JUnit: BDD And Cucumber 00:12:09
    10. Legacy JUnit - Legacy Code 00:05:15
    11. Workflow Example 00:04:12
    12. Debugging And Logging 00:10:39
    13. Add-Ons 00:06:37
    14. The Future Of JUnit 00:06:27
  3. Spock
    1. Is Another Tool Logical, Captain? 00:10:14
    2. A Nicer JUnit 00:05:30
    3. A Nicer Cucumber Too 00:02:55
  4. Test Coverage
    1. What And When Is Enough Testing? 00:07:15
    2. Finding Gaps With Cobertura 00:07:59
  5. Testing Web Apps With JUnit-Based Tools
    1. Selenium Driver 00:10:49
    2. Arquillian With WebDriver - Part 1 00:10:08
    3. Arquillian With WebDriver - Part 2 00:06:51
    4. HtmlUnit 00:04:46
    5. Web Testing Miscellany 00:09:40
    6. PageUnit 00:06:30
  6. Static Code Analysis
    1. Code Analysis Tools: Static Testing 00:05:07
    2. Cranking Up Eclipse Settings 00:07:47
  7. PMD
    1. What Is PMD? 00:07:01
    2. Running Standalone With Maven 00:04:26
    3. Running With Eclipse 00:04:08
    4. Dealing With Outputs 00:08:54
    5. Analyzing Reports 00:02:02
    6. Destroying Duplication With CPD 00:02:56
  8. FindBugs
    1. What Is FindBugs? 00:09:30
    2. Running Standalone With Maven 00:02:29
    3. Running With Eclipse 00:03:46
    4. Dealing With Warnings 00:08:41
    5. Analyzing Reports 00:09:14
  9. Wrap-Up
    1. Summary 00:03:44