Testing
Testing Next.js apps
Main Articles
- Jest: https://ucsb-cs48.github.io/jstopics/testing_jest/
- Cypress: https://ucsb-cs48.github.io/jstopics/testing_cypress/
Other Articles
- Testing with Jest/Enzyme https://medium.com/@diamondgfx/nextjs-lessons-learned-part-3-be3aeefd9be0
- Testing Next.js Routes: https://dev.to/metamas/testing-next-js-api-routes-55g3
- End-to-End testing with Cypress: https://hashnode.com/post/how-to-write-end-to-end-tests-for-apps-built-with-nextjs-cjwkniuf30017gjs142wsyw69
- Example of Testing Nextjs App with Jest: https://github.com/zeit/next.js/tree/master/examples/with-jest
Related topics:
- Testing: Acceptance Testing—Criteria for being 'done' with an issue
- Testing: Agile Testing (Crispin and Gregory)—Material from the book by Lisa Crispin and Janet Gregory, Agile Testing: A Practical Guide for Testers and Agile Teams
- Testing: Automation—How to make testing an automatic part of your process
- Testing: End to End Testing—Intro to End to End Testing, and Framework Specific Examples
- Testing: Jacoco Reports—How to interpret the reports (red, yellow, green)
- Testing: Jacoco via Maven—Setting up Jacoco test coverage, using Maven
- Testing: Unit Testing with Jest—Setting up Jest for Next.JS projects
- Testing: Mocking—Intro to Mocking in Tests, and Framework-specific Examples