What you’ll learn
- Unit and integration tests should be written and structured.
- Write excellent tests and concentrate on testing the most important business logic.
- It is not required to have any previous understanding of testing.
In current (web) development, automated testing is a crucial notion.
Many developers, though, find the idea scary at first and don’t want to test their projects or add tests to them.
You’ll learn about the tools and configuration needed to develop automated tests, and you’ll get to work on several sample projects as part of the class. You won’t get trapped in theory since this is a hands-on, practical course; instead, you’ll be able to learn all the major principles via real-life situations.
This course will show you how to:
- What is “testing” or “automated testing” exactly? (and why you need it).
- What exactly is “unit testing”?
- Unit tests and how to write them
- How to express various expectations (assertions)
- Which test-writing patterns should you follow?
- What is the best way to test asynchronous and synchronous code?
- How to cope with the adverse effects of spies and mocks
- What are some examples of how to utilize all of these principles in real-world projects?