Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Docs: recommend a testing framework #62455

Closed
ericswpark opened this issue Feb 23, 2024 · 2 comments
Closed

Docs: recommend a testing framework #62455

ericswpark opened this issue Feb 23, 2024 · 2 comments
Labels
Documentation Related to Next.js' official documentation. locked

Comments

@ericswpark
Copy link

What is the improvement or update you wish to see?

On the testing documentation page, it would be nice if the page recommended a test framework to go with.

Is there any context that might help us understand?

For example, for E2E testing, both Playwright and Cypress are listed, but it seems like (maybe?) Playwright is preferable over Cypress due to the recency, backing by Microsoft, and better design choices (according to this Reddit post anyway: https://www.reddit.com/r/nextjs/comments/18oevy0/cypress_vs_playwright/). I obviously have no skin in the game as I haven't tried any of them, but it would be nice for newcomers like me to have a recommendation to start with.

I do see the guides listed, but it would be great if the page could say something like:

"Not sure where to start? We recommend starting with X for unit testing, and Playwright for E2E testing."

Does the docs page already exist? Please link to it.

https://nextjs.org/docs/app/building-your-application/testing

@ericswpark ericswpark added the Documentation Related to Next.js' official documentation. label Feb 23, 2024
@balazsorban44
Copy link
Member

Next.js does not have a specific opinion but rather lists the currently popular options instead and lets the user do the research on which would work best for them. This is true for other guides as well, like Authentication

Copy link
Contributor

This closed issue has been automatically locked because it had no new activity for 2 weeks. If you are running into a similar issue, please create a new issue with the steps to reproduce. Thank you.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 13, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Documentation Related to Next.js' official documentation. locked
Projects
None yet
Development

No branches or pull requests

2 participants