From f1059005461c24d3fb66881ed4aa5c35df6bb7c1 Mon Sep 17 00:00:00 2001 From: Hiroaki KARASAWA Date: Tue, 28 Jan 2020 22:14:44 +0900 Subject: [PATCH 1/2] add docs for docs/testing --- docs/docs/testing.md | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/docs/docs/testing.md b/docs/docs/testing.md index 7b19cb307..36d2c46ea 100644 --- a/docs/docs/testing.md +++ b/docs/docs/testing.md @@ -1,17 +1,17 @@ --- -title: Adding Testing +title: テストの追加 overview: true disableTableOfContents: true --- -One of the benefits of building a Gatsby project is the ability to add automated tests for your components, APIs, pages, and more. With Gatsby, you can employ modern tooling like Jest, Cypress, Testing Library, Storybook, Enzyme, and any other JavaScript testing tool to build a robust React web application. +Gatsby でサイトを構築する利点の 1 つはあなたが作成したコンポーネントや API やページ自体に簡単に自動テストを追加できるということです。 Gatsby では Jest, Cypress, Testing Library, Storybook, Enzyme などの JavaScript のモダンなツールを採用して変更に強い React アプリケーションを作成できます。 -In these guides, you can learn the common tools and setup instructions for adding testing functionality to your Gatsby project. There are likely more possibilities than what are listed here: search the [open issues on GitHub](https://github.com/gatsbyjs/gatsby/issues?utf8=%E2%9C%93&q=is%3Aissue+is%3Aopen+testing) to chime in about your desired testing use case, or [file an issue](/contributing/how-to-file-an-issue/) of your own. +このガイドでは、 Gatsby プロジェクトにテスト機能を追加するためによく使われるツールとセットアップの手順をご紹介します。ただし、ここで紹介されているよりもっと良いテストの手法があるかもしれません。その場合は [GitHub で Issue を作成して](https://github.com/gatsbyjs/gatsby/issues?utf8=%E2%9C%93&q=is%3Aissue+is%3Aopen+testing) あなたの望むテストユースケースを追加するか、[こちらの手順で Issue を報告してください。](/contributing/how-to-file-an-issue/) -## Other resources +## その他の資料 -- Read the article ["Quality assurance in GatsbyJS projects - linting and testing" by Kalin Chernev](https://kalinchernev.github.io/gatsbyjs-qa-linting-testing/) -- [Gatsby blog posts on testing in Gatsby](/blog/tags/testing) -- [Jason Lengstorf's livestream with Kent Dodds adding tests to a Gatsby site](https://www.youtube.com/watch?v=BzRAYt7BHRw&t=2024s). +- [Kalin Chernev による "GatsbyJS プロジェクトにおける品質保証 - リントとテスト"](https://kalinchernev.github.io/gatsbyjs-qa-linting-testing/) +- [Gatsby のテストに関する Gatsby 公式のブログ記事](/blog/tags/testing) +- [Jason Lengstorf による Kent Dodds との Gatsby サイトにテストを追加する YouTube ビデオ](https://www.youtube.com/watch?v=BzRAYt7BHRw&t=2024s). From fe355bc914b177cb8993e3f7d84a038b63dfb225 Mon Sep 17 00:00:00 2001 From: Hiroaki KARASAWA <1257695+karszawa@users.noreply.github.com> Date: Wed, 29 Jan 2020 16:00:35 +0900 Subject: [PATCH 2/2] Update docs/docs/testing.md Co-Authored-By: Hirotaka Mizutani --- docs/docs/testing.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/docs/testing.md b/docs/docs/testing.md index 36d2c46ea..4640cf2e6 100644 --- a/docs/docs/testing.md +++ b/docs/docs/testing.md @@ -6,7 +6,7 @@ disableTableOfContents: true Gatsby でサイトを構築する利点の 1 つはあなたが作成したコンポーネントや API やページ自体に簡単に自動テストを追加できるということです。 Gatsby では Jest, Cypress, Testing Library, Storybook, Enzyme などの JavaScript のモダンなツールを採用して変更に強い React アプリケーションを作成できます。 -このガイドでは、 Gatsby プロジェクトにテスト機能を追加するためによく使われるツールとセットアップの手順をご紹介します。ただし、ここで紹介されているよりもっと良いテストの手法があるかもしれません。その場合は [GitHub で Issue を作成して](https://github.com/gatsbyjs/gatsby/issues?utf8=%E2%9C%93&q=is%3Aissue+is%3Aopen+testing) あなたの望むテストユースケースを追加するか、[こちらの手順で Issue を報告してください。](/contributing/how-to-file-an-issue/) +このガイドでは、 Gatsby プロジェクトにテスト機能を追加するためによく使われるツールとセットアップの手順をご紹介します。ただし、ここで紹介されているよりもっと良いテストの手法があるかもしれません。その場合は [GitHub で Open な Issue](https://github.com/gatsbyjs/gatsby/issues?utf8=%E2%9C%93&q=is%3Aissue+is%3Aopen+testing)からあなたの望むテストユースケースを探すか、[こちらの手順で Issue を報告してください。](/contributing/how-to-file-an-issue/)