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 | Testing in Development
Java JUnit Library. Types of Testing
course content

Contenido del Curso

Java JUnit Library. Types of Testing

Java JUnit Library. Types of Testing

1. Testing in Development
2. Unit Tests
3. Exceptions

bookWhat is Testing, and Why do We Need It

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.

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!

¿Todo estuvo claro?

¿Cómo podemos mejorarlo?

¡Gracias por tus comentarios!

Sección 1. Capítulo 1
We're sorry to hear that something went wrong. What happened?
some-alt