Ratings & reviews

This course does not have any reviews.
Your review could be the first one.

0%
0%
0%
0%
0%
info

Complete all chapters to get certificate

0%

Testing in Development

chevron

Let's talk about types of testing and which testing methods developers use. You will learn about the stages an application goes through before being delivered to the client and the specific tests you will need to write.

What is Testing, and Why do We Need It

Types of Testing

Application Stages

Unit Testing

Integration Testing

Functional Testing

Section 1 Summary

Unit Tests

chevron

In this section, we're going to dive into unit testing — you'll get the rundown on its structure in Java and the ins and outs of crafting them the right way. Setting up your IDE, importing necessary libraries, and lots of hands-on practice.

Set-Up

Test-Driven Development

Creating Unit Tests

@BeforeEach

How to Test `void` Methods

Assertions

Assertions Practice

Section 2 Summary

Exceptions

chevron

In this section, we will enhance our coding skills by dealing with errors that can also be caught in unit tests. When testing an application, you may come across various errors, and sometimes they should be turned into exceptions. I will explain how to catch exceptions in your code, test them, and handle them properly.

Throwing Exceptions

Try-catch structure

Handling Multiple Exceptions

Handling Exceptions Practice

Creating Exceptions

Testing Exceptions

Testing Exceptions Practice