Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
What is Testing, and Why do We Need It
course content

Course Content

Java JUnit Library. Types of Testing

What is Testing, and Why do We Need ItWhat is Testing, and Why do We Need It

Attention! It will be quite challenging for you to take this course if you haven't completed the four previous Java courses on our platform! Therefore, I strongly recommend completing these four courses before starting the 'Java JUnit Library. Types of Testing' course.
  1. Java Basics
  2. Java Extended
  3. Java OOP
  4. Java Data Structures

Introduction

Welcome to the testing course! You already know how to write small programs, but how can you be sure of the correctness of these programs? This course will tell you about it, but first, let's start by understanding what testing means in programming.

Testing in programming is a systematic process of verifying and evaluating software with the goal of identifying defects, errors, and shortcomings. The purpose of testing is to ensure a high level of program quality, confidence in its correct operation, and compliance with stated requirements.

The fundamental principles of testing involve creating a set of test cases that cover various aspects of software functionality, performance, security, and other characteristics. Testing is conducted at different levels, starting from unit testing of individual components and ending with acceptance testing that evaluates the system's compliance with the customer's stated requirements.

In simpler terms, when writing a code snippet, we must ensure its correctness. Because if a small piece of code doesn't work correctly, the entire code may eventually break.

Note

You have already encountered testing before when completing tasks on GitHub. I provided tests for you to check the correctness of the methods you implemented. Such tests are called unit tests and are the most basic method of testing. You will learn about them in the second section of this course.

Conclusion

In conclusion, it can be said that testing is crucial at any stage in programming. Instead of stumbling upon pitfalls in the future, it's better to test everything right away!

Everything was clear?

Section 1. Chapter 1
some-alt