English | Size: 2.22 GB
Genre: eLearning
Learn how to write automated tests (unit & integration tests) for your JavaScript projects with Vitest & Jest.
What you’ll learn
Write and structure unit & integration tests
Remove side effects from tests via mocking and spies
Work with popular JavaScript test runners and libraries
Write good tests and focus on testing core business logic
Automated testing is a key concept in modern (web) development.
Yet it is a concept that can be intimidating at first, hence many developers shy away from diving into testing and adding tests to their projects.
This course will teach you automated unit & integration testing with JavaScript from the ground up. You will learn how tests are written and added to your projects, what should (and should not) be tested and how you can test both simple as well as more complex code.
You will learn about the software and setup required to write automated tests and example projects will be provided as part of the course. It’s a hands-on, practical course, hence you won’t get stuck in theory – instead you’ll be able to learn all key concepts at real examples.
In the course, Vitest will be used as the main testing library & tool. It’s a modern JavaScript test runner and assertion library that provides Jest compatibility. Hence what you’ll learn in this course will help you no matter if you’re working with Vitest or Jest. And the core concepts will apply, no matter which testing setup you’re using at all!
As part of this course, typical testing problems will be defined and solved and common strategies like mocking or working with spies are taught in great detail. This course also does not focus on specific types of JavaScript projects – neither does it focus on any specific library or framework.
Instead, you’ll learn how to automatically test your (vanilla) JavaScript code, no matter if it’s a NodeJS or frontend project. The fundamentals you’ll gain in this course will help you in all your future projects – backend (NodeJS) and frontend (vanilla JS, React, Vue, Angular) alike.
This course will provide you with an extremely solid foundation to build up on, such that you can start adding tests to all your JavaScript projects.
In detail, this course will teach you:
- What exactly “testing” or “automated testing” is (and why you need it)
- What “unit testing” is specifically
- Which tools you need to enable automated unit tests in your projects
- How to write unit tests
- How to get started with integration tests
- How to formulate different expectations (assertions)
- Which patterns to follow when writing tests
- How to test asynchronous and synchronous code
- How to deal with side effects with help of spies & mocks
- How to apply all these concepts in real projects & examples
Who this course is for:
- JavaScript developers who want to add tests to their projects
- Developers who always considered automated testing to be intimidating
nitroflare.com/view/DE85603A241909E/UD-JavaScript-Unit-Testing-The-Practical-Guide.part1.rar
nitroflare.com/view/363898A1B342931/UD-JavaScript-Unit-Testing-The-Practical-Guide.part2.rar
nitroflare.com/view/72630AECAFB123C/UD-JavaScript-Unit-Testing-The-Practical-Guide.part3.rar
nitroflare.com/view/D4B2D85EF18EAA9/UD-JavaScript-Unit-Testing-The-Practical-Guide.part4.rar
nitroflare.com/view/8B6B31E667DD569/UD-JavaScript-Unit-Testing-The-Practical-Guide.part5.rar
nitroflare.com/view/8B306442AEFE239/UD-JavaScript-Unit-Testing-The-Practical-Guide.part6.rar
rapidgator.net/file/28c0f40889193d1e675b7d7ac2ac0a89/UD-JavaScript-Unit-Testing-The-Practical-Guide.part1.rar.html
rapidgator.net/file/1b6040a24f617908cc2c7588b6b20faf/UD-JavaScript-Unit-Testing-The-Practical-Guide.part2.rar.html
rapidgator.net/file/ea783dc9583843cbcf4b4e7db190e404/UD-JavaScript-Unit-Testing-The-Practical-Guide.part3.rar.html
rapidgator.net/file/5039385a1ae9396135c3df09993d8a7c/UD-JavaScript-Unit-Testing-The-Practical-Guide.part4.rar.html
rapidgator.net/file/9ca7cb70a69bdd5437a4d45cdadc1140/UD-JavaScript-Unit-Testing-The-Practical-Guide.part5.rar.html
rapidgator.net/file/3cd45c8d9a42c8b63b9486d6606bf20b/UD-JavaScript-Unit-Testing-The-Practical-Guide.part6.rar.html
If any links die or problem unrar, send request to
forms.gle/e557HbjJ5vatekDV9