Introduction to Testing
Understand what testing is and what the different types of testing are.
React is an extremely easy-to-use UI library compared to many others. It gives us the opportunity to iterate and prototype very fast, cutting the time to the customer by orders of magnitude.
But every upside comes with a downside. Since React does not enforce any structure and gives no recipes, it is very easy to make mistakes. This is where testing comes into play.
What is testing?
Testing is a process that validates the behaviour of an actual system by comparing it to the specified desired behaviour. Most of the time, testing is automated. Testing gives you a way to check whether your whole application functions correctly by running a single command.
Under the influence of testing, Test-Driven-Development (TDD) was born. This is a programming methodology that focuses on the importance of testing. The ...