Introduction to Unit Testing in Java

Get set up for creating unit tests in java in the Eclipse Integrated Development Environment

Create unit tests for a simple code library

Enhance your unit tests through the use of Data Driven techniques

Learn how to debug your unit tests

Requirements

  • Some Java programming experience. Understand the basic of creating and assigning variables, using logic comparisons, and are able to create simple class objects.
  • Able to use the Eclipse Integrated Development Environment (free to install and use!).
  • Able to create simple methods in Java – understanding of flow control (if-else, while, for, foreach) and assignment of values to variables.

Description

Through the use of hands-on work, you will learn how to create and work with unit tests in Java using the Eclipse integrated development environment. Get professional tips on creating, debugging, and improving your tests in a practical way.

The introduction uses a two iteration cycle to create unit tests that address the product code as it is being developed, giving you the basis for not only creating and improving your unit testing ability, but also pointing the way towards exercising these new concepts in BDD (Business/Behavior Driven Development) or TDD (Test Driven Development).

We do more than just talk about how to do this, we provide step-by-step labs detailing how to create your automation and how to improve it as we progress.

For this course, starter code projects are supplied, as well as finished projects you can adapt to fit your needs, or use for reference for further projects.

This course is designed this to help those who want to expand their capabilities in creating software test automation.

Whether you are a student, a manual tester, or are already a software test professional, this course can help you become more effective in your role.

Start your journey towards effective unit testing today!

Who this course is for:

  • Java developers new to the idea of unit testing
  • Test professionals looking to expand their abilities into creating test automation.
  • Test professionals who want to make their existing test automation more useful.

Course content

4 sections • 5 lectures • 46m total lengthExpand all sections

Introduction2 lectures • 6min

  • Introduction00:21
  • Setting Up05:25

Unit Testing, Iteration 11 lecture • 20min

  • Iteration 120:25

Unit testing, iteration 21 lecture • 16min

  • Unit Testing, Iteration 215:46

Wrapping up1 lecture • 5min

  • Dos and Don’ts for writing unit tests05:00

Leave a Reply

Your email address will not be published. Required fields are marked *