Open rvalenciano opened 3 days ago
Hello @rvalenciano I am a frontend developer with 3 years of experience. I can configure and setup testing infrastructure for this project.
To ensure the quality and reliability of this Nextjs frontend application, I will set up a comprehensive testing infrastructure that includes unit, component, and integration tests. The setup will leverage Jest for unit testing, React Testing Library for component testing, and MSW for API mocking. In addition, I will implement E2E testing with Cypress and configure test coverage reporting. The setup will be aligned with best practices and will ensure CI/CD integration. After completing the setup, I will document the testing process, ensuring that all configurations are functional and tests are ready for continuous integration.
I will make PR in 48hrs. Thanks
Hi @Michaelkingsdev have assigned the issue to you.
Hello @JosueBrenes
I am still working on this. I just want to let you know.
[Frontend] Set up Testing Infrastructure with Jest and Testing Library
Set up comprehensive testing infrastructure for our React frontend application, including unit tests, component tests, and integration tests.
Problem
We need to:
Solution
Package Installation
Configuration Files
MSW Setup for API Mocking
Example Test Cases
Scripts to Add in package.json
Success Criteria
Prerequisites