- 3m
- 2m
- 3. Installing NodeJS Runtime 2m
- 4. Why We Need Testing and SDLC 10m
- 5. BDD vs TDD Testing Approach 7m
- 6. Types of Testing - UT, IT, E2E 4m
Zero to Hero in Jest Unit and Integration Testing with React
About this course
In this course you will learn about jest testing library and how to use it to write Unit and Integration test for any react Js application.
We will start by learning how does software development and testing takes place in a real live project in any company.
Then we will learn about the importance of automation tests and importance of writing unit and integration tests.
We will then learn about Behavior driven development (BDD) and Test driven development(TDD) and the difference between the two techniques.
We will also learn to create react app and functional components. Then write tests for these components.
We will also see how to Mock real API calls for our integrating test.
All these and much more we will learn in handson based approach in a step by step manner.
Following is the sequence we will cover the various topics:
0-Introduction video - Course Overview
1-Why we need Testing and SDLC
2-BDD vs TDD Testing Approach
3-Types of Testing - UT, IT, E2E
4-Creating React App and Adding Testing Capability
5-Creating Some DOM elements for Basic Testing
6-Writting and Running our First Test
7-How to get the Role of an Element
8-Understanding difference between getBy queryBy and findBy
9-Code Hands-on for getBy queryBy
10-Requirements for Unit Test Cases
11-Setup project structure and install react extention
12-Test case for Feedback Form Onload Scenario
13-Grouping similar Tests in one Describe block
14-Adding user interaction to our Test with the help of fireEvent
15-Understanding React Project Flow and Structure
16-State variable and useState hook
17-React Functional component and JSX
18-Developing the Feedback Form
19-Testing the Application manually and with Unit test
20-Using userEvent to test user interaction
21-Unit test Requirement for Feedback Overview component
22-Feedback Overview Test for No Feedback Found
23-Feedback Overview Test for 2 Feedback Found
24-Developing the Feedback Overview Component and Passing data
25-Executing the test cases
26-How to Improve your test cases
27-Requirements for Integration test scenarios
28-Implementing Integration test Scenario 1
29-Implementing Integration test Scenario 2
30-Developing the functionality of adding new feedback
31-Requirements overview for Mocking API calls
32-Installing MSW library
33-Creating MSW handler for create feedback
34-Setting up the mock server
35-Update the Integration test based on API call
36-Make API call for saving feedback via fetch method
37-How to Debug the Test case
38-Deep dive into understanding the Integration test and Mock server flow
39-Backend Node API and testing Frontend with Real backend
What you'll learn
- What is Jest testing library and how to use it to write Unit and Integration test for any React Js application.
- What are Behavior driven development (BDD) and Test driven development (TDD) and the difference between the two techniques.
- We will also see how to Mock real API calls for our integrating test.
- We will learn to make API calls from React app to our backend.
- How Software development and testing takes place in a real live project in any company.
- We will also learn to create react app and functional components. Then write tests for these components.
- We will learn to create Backend Node Express API.
- How to debug your test.
Who this course is for
- Anyone who wants to become a Professional Fullstack developer that understands the importance of writing tests for your application
Requirements
- Basics of javascript should be known
Curriculum
42 Lessons • 3h 13m estimated learning time- 7. Creating React App and Adding Testing Capability 4m
- 8. Creating Some DOM elements for Basic Testing 2m
- 9. Writing and Running our First Test 11m
- 10. How to get the Role of an Element 4m
- 11. Understanding difference between getBy queryBy and findBy 3m
- 12. Code Hands-on for getBy queryBy 7m
- 13. Requirements for Unit Test Cases 3m
- 14. Setup Project Structure and Install React Extension 5m
- 15. Test case for Feedback Form Onload Scenario 11m
- 16. Grouping similar Tests in one Describe block 5m
- 17. Adding User Interaction to Our Test with The Help of fireEvent 6m
- 18. Understanding React Project Flow and Structure 4m
- 19. State variable and useState hook 5m
- 20. React Functional component and JSX 2m
- 21. Developing the Feedback Form 11m
- 22. Testing the Application Manually and with Unit Test 4m
- 23. Using userEvent to Test User Interaction 6m
- 24. Unit Test Requirement for Feedback Overview Component 2m
- 25. Feedback Overview Test for No Feedback Found 6m
- 26. Feedback Overview Test for 2 Feedback Found 9m
- 27. Developing the Feedback Overview Component and Passing data 11m
- 28. Executing the Test Cases 5m
- 29. How to Improve Your Test Cases 2m
- 30. Requirements for Integration Test Scenarios 2m
- 31. Implementing Integration Test Scenario 1 7m
- 32. Implementing Integration Test Scenario 2 3m
- 33. Developing the Functionality of Adding New Feedback 7m
- 34. Requirements Overview for Mocking API calls 4m
- 35. Installing MSW Library 4m
- 36. Creating MSW Handler for Create Feedback 7m
- 37. Setting up The Mock Server 2m
- 38. Update the Integration Test Based on API call 4m
- 39. Make API Call for Saving Feedback via Fetch Method 5m
- 40. How to Debug the Test Case 3m
- 41. Deep Dive into Understanding the Integration Test and Mock Server Flow 6m
- 42. Backend Node API and Testing Frontend with Real Backend 6m
- 0.00 instructor rating
- 2 courses
- 0 students worldwide
Obify Consulting
We are a next generation Software Consulting Company in Sambalpur Odisha, dealing with developing Web Application, Cloud based system, Blockchain to Artificial Intelligence solutions. We also have state of the art training facility for young professional or experienced professional who wants to learn latest cutting edge technology and become the Software Developer.
Our vision is to make technical education simple and easy so that more and more professionals/students can learn and grow in their career.
Student reviews
No student reviews have been posted yet.