Unverified Commit 7b554b39 authored by Delba de Oliveira's avatar Delba de Oliveira Committed by GitHub

Docs IA 2.0: Move testing guides (#78418)

Closes: https://linear.app/vercel/issue/DOC-4576/testing
Redirects: https://github.com/vercel/front/pull/44459
parent 4a976436
...@@ -50,10 +50,10 @@ description: Learn how to implement common UI patterns and use cases using Next. ...@@ -50,10 +50,10 @@ description: Learn how to implement common UI patterns and use cases using Next.
### Testing ### Testing
- [Vitest](/docs/app/building-your-application/testing/vitest) - [Vitest](/docs/app/guides/testing/vitest)
- [Jest](/docs/app/building-your-application/testing/jest) - [Jest](/docs/app/guides/testing/jest)
- [Playwright](/docs/app/building-your-application/testing/playwright) - [Playwright](/docs/app/guides/testing/playwright)
- [Cypress](/docs/app/building-your-application/testing/cypress) - [Cypress](/docs/app/guides/testing/cypress)
### Deployment ### Deployment
......
...@@ -145,7 +145,7 @@ export default function RootLayout({ children }) { ...@@ -145,7 +145,7 @@ export default function RootLayout({ children }) {
} }
``` ```
> **Good to know**: Next.js ignores CRA’s `public/manifest.json`, additional iconography, and [testing configuration](/docs/app/building-your-application/testing) by default. If you need these, Next.js has support with its [Metadata API](/docs/app/building-your-application/optimizing/metadata) and [Testing](/docs/app/building-your-application/testing) setup. > **Good to know**: Next.js ignores CRA’s `public/manifest.json`, additional iconography, and [testing configuration](/docs/app/guides/testing) by default. If you need these, Next.js has support with its [Metadata API](/docs/app/building-your-application/optimizing/metadata) and [Testing](/docs/app/guides/testing) setup.
### Step 4: Metadata ### Step 4: Metadata
......
--- ---
title: Setting up Cypress with Next.js title: How to set up Cypress with Next.js
nav_title: Cypress nav_title: Cypress
description: Learn how to set up Cypress with Next.js for End-to-End (E2E) and Component Testing. description: Learn how to set up Cypress with Next.js for End-to-End (E2E) and Component Testing.
--- ---
......
--- ---
title: Setting up Jest with Next.js title: How to set up Jest with Next.js
nav_title: Jest nav_title: Jest
description: Learn how to set up Jest with Next.js for Unit Testing and Snapshot Testing. description: Learn how to set up Jest with Next.js for Unit Testing and Snapshot Testing.
--- ---
......
--- ---
title: Setting up Playwright with Next.js title: How to set up Playwright with Next.js
nav_title: Playwright nav_title: Playwright
description: Learn how to set up Playwright with Next.js for End-to-End (E2E) Testing. description: Learn how to set up Playwright with Next.js for End-to-End (E2E) Testing.
--- ---
......
--- ---
title: Setting up Vitest with Next.js title: How to set up Vitest with Next.js
nav_title: Vitest nav_title: Vitest
description: Learn how to set up Vitest with Next.js for Unit Testing. description: Learn how to set up Vitest with Next.js for Unit Testing.
--- ---
......
--- ---
title: Setting up Cypress with Next.js title: How to set up Cypress with Next.js
nav_title: Cypress nav_title: Cypress
description: Learn how to set up Next.js with Cypress for End-to-End (E2E) and Component Testing. description: Learn how to set up Next.js with Cypress for End-to-End (E2E) and Component Testing.
source: app/building-your-application/testing/cypress source: app/guides/testing/cypress
--- ---
{/* DO NOT EDIT. The content of this doc is generated from the source above. To edit the content of this page, navigate to the source page in your editor. You can use the `<PagesOnly>Content</PagesOnly>` component to add content that is specific to the Pages Router. Any shared content should not be wrapped in a component. */} {/* DO NOT EDIT. The content of this doc is generated from the source above. To edit the content of this page, navigate to the source page in your editor. You can use the `<PagesOnly>Content</PagesOnly>` component to add content that is specific to the Pages Router. Any shared content should not be wrapped in a component. */}
--- ---
title: Testing title: Testing
description: Learn how to set up Next.js with three commonly used testing tools — Cypress, Playwright, Vitest, and Jest. description: Learn how to set up Next.js with three commonly used testing tools — Cypress, Playwright, Vitest, and Jest.
source: app/building-your-application/testing source: app/guides/testing
--- ---
{/* DO NOT EDIT. The content of this doc is generated from the source above. To edit the content of this page, navigate to the source page in your editor. You can use the `<PagesOnly>Content</PagesOnly>` component to add content that is specific to the Pages Router. Any shared content should not be wrapped in a component. */} {/* DO NOT EDIT. The content of this doc is generated from the source above. To edit the content of this page, navigate to the source page in your editor. You can use the `<PagesOnly>Content</PagesOnly>` component to add content that is specific to the Pages Router. Any shared content should not be wrapped in a component. */}
--- ---
title: Setting up Jest with Next.js title: How to set up Jest with Next.js
nav_title: Jest nav_title: Jest
description: Learn how to set up Next.js with Jest for Unit Testing. description: Learn how to set up Next.js with Jest for Unit Testing.
source: app/building-your-application/testing/jest source: app/guides/testing/jest
--- ---
{/* DO NOT EDIT. The content of this doc is generated from the source above. To edit the content of this page, navigate to the source page in your editor. You can use the `<PagesOnly>Content</PagesOnly>` component to add content that is specific to the Pages Router. Any shared content should not be wrapped in a component. */} {/* DO NOT EDIT. The content of this doc is generated from the source above. To edit the content of this page, navigate to the source page in your editor. You can use the `<PagesOnly>Content</PagesOnly>` component to add content that is specific to the Pages Router. Any shared content should not be wrapped in a component. */}
--- ---
title: Setting up Playwright with Next.js title: How to set up Playwright with Next.js
nav_title: Playwright nav_title: Playwright
description: Learn how to set up Next.js with Playwright for End-to-End (E2E) and Integration testing. description: Learn how to set up Next.js with Playwright for End-to-End (E2E) and Integration testing.
source: app/building-your-application/testing/playwright source: app/guides/testing/playwright
--- ---
{/* DO NOT EDIT. The content of this doc is generated from the source above. To edit the content of this page, navigate to the source page in your editor. You can use the `<PagesOnly>Content</PagesOnly>` component to add content that is specific to the Pages Router. Any shared content should not be wrapped in a component. */} {/* DO NOT EDIT. The content of this doc is generated from the source above. To edit the content of this page, navigate to the source page in your editor. You can use the `<PagesOnly>Content</PagesOnly>` component to add content that is specific to the Pages Router. Any shared content should not be wrapped in a component. */}
--- ---
title: Setting up Vitest with Next.js title: How to set up Vitest with Next.js
nav_title: Vitest nav_title: Vitest
description: Learn how to set up Next.js with Vitest and React Testing Library - two popular unit testing libraries. description: Learn how to set up Next.js with Vitest and React Testing Library - two popular unit testing libraries.
source: app/building-your-application/testing/vitest source: app/guides/testing/vitest
--- ---
{/* DO NOT EDIT. The content of this doc is generated from the source above. To edit the content of this page, navigate to the source page in your editor. You can use the `<PagesOnly>Content</PagesOnly>` component to add content that is specific to the Pages Router. Any shared content should not be wrapped in a component. */} {/* DO NOT EDIT. The content of this doc is generated from the source above. To edit the content of this page, navigate to the source page in your editor. You can use the `<PagesOnly>Content</PagesOnly>` component to add content that is specific to the Pages Router. Any shared content should not be wrapped in a component. */}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment