Adds testing readme to docs (#46249)
* Renames beta testing directory and adds readme * Adds manifest.json * Adds meta tags to readme * Fixes linting issue --------- Co-authored-by: Shani Banerjee <shanibanerjee@Shanis-MBP.lan>
This commit is contained in:
parent
cb27f36cad
commit
3af1ff3f68
|
@ -13,23 +13,6 @@
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"categories": [
|
"categories": [
|
||||||
{
|
|
||||||
"category_slug": "beta-testing",
|
|
||||||
"category_title": "Beta Testing",
|
|
||||||
"posts": [
|
|
||||||
{
|
|
||||||
"category_title": "Beta Testing",
|
|
||||||
"category_slug": "Beta Testing",
|
|
||||||
"tags": "how-to",
|
|
||||||
"post_title": "Beta Testing New Features",
|
|
||||||
"edit_url": "https://github.com/woocommerce/woocommerce/edit/trunk/docs/beta-testing/beta-testing.md",
|
|
||||||
"hash": "1a78d319e7b1dfb6c43c1ca848ca001c0c7c48736e20d8a1813f7caaeaf78abc",
|
|
||||||
"url": "https://raw.githubusercontent.com/woocommerce/woocommerce/trunk/docs/beta-testing/beta-testing.md",
|
|
||||||
"id": "a54b0065664aabc84e01b564f1e055f339fac194"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"categories": []
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"content": "\nDiscover tutorials and guides for creating custom WooCommerce stores. This section is your toolkit for building advanced, modern online shops that meet the needs of merchants and customers alike.\n",
|
"content": "\nDiscover tutorials and guides for creating custom WooCommerce stores. This section is your toolkit for building advanced, modern online shops that meet the needs of merchants and customers alike.\n",
|
||||||
"category_slug": "building-a-woo-store",
|
"category_slug": "building-a-woo-store",
|
||||||
|
@ -871,6 +854,24 @@
|
||||||
],
|
],
|
||||||
"categories": []
|
"categories": []
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"content": "# Testing\n\nProperly setting up your test environment and writing tests when contributing to WooCommrece core are essential parts of our development pipeline. The links below are also included in our [Contributing Guidelines](https://github.com/woocommerce/woocommerce/blob/trunk/.github/CONTRIBUTING.md) on GitHub.\n\nIf you have any questions about testing please reach out to the developer community in our public channels([Developer Blog](https://developer.woo.com/blog/), [GitHub Discussions](https://github.com/woocommerce/woocommerce/discussions), or [Community Slack](https://woo.com/community-slack/)).\n\n## Unit Testing\n\n[End-to-end tests](https://github.com/woocommerce/woocommerce/tree/trunk/plugins/woocommerce/tests/e2e-pw) are powered by `Playwright`. The test site is spun up using `wp-env` ([recommended][https://developer.wordpress.org/block-editor/reference-guides/packages/packages-env/]), but we will continue to support `e2e-environment` in the meantime, and slowly [deprecate](https://github.com/woocommerce/woocommerce/blob/trunk/plugins/woocommerce/tests/e2e/README.md) `Puppeteer` testing. \n\n## API Testing\n\n`api-core-tests` is a [package](https://github.com/woocommerce/woocommerce/tree/trunk/plugins/woocommerce/tests/api-core-tests#guide-for-writing-api-tests) that contains automated API tests for WooCommerce, based on `Playwright` and `wp-env`. It supersedes the SuperTest based `api-core-tests` package and `e2e-environment` setup, which we will gradually deprecate.\n\n## Calls for Testing\n\nKeep tabs on calls for testing on our developer blog, and make sure to read our beta testing instructions to help us build new features and enhancements.\n",
|
||||||
|
"category_slug": "testing",
|
||||||
|
"category_title": "Testing",
|
||||||
|
"posts": [
|
||||||
|
{
|
||||||
|
"category_title": "Beta Testing",
|
||||||
|
"category_slug": "Beta Testing",
|
||||||
|
"tags": "how-to",
|
||||||
|
"post_title": "Beta Testing New Features",
|
||||||
|
"edit_url": "https://github.com/woocommerce/woocommerce/edit/trunk/docs/testing/beta-testing.md",
|
||||||
|
"hash": "2daf9846db320da1053767e1f11b48019b52b336e614950c00fd2b38fe0c6060",
|
||||||
|
"url": "https://raw.githubusercontent.com/woocommerce/woocommerce/trunk/docs/testing/beta-testing.md",
|
||||||
|
"id": "01f266904647aad0d44b5687fb5f143560dabc67"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"categories": []
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"content": "\nLearn to design and integrate custom themes in WooCommerce, focusing on responsive design and ecommerce optimization.\n",
|
"content": "\nLearn to design and integrate custom themes in WooCommerce, focusing on responsive design and ecommerce optimization.\n",
|
||||||
"category_slug": "theme-development",
|
"category_slug": "theme-development",
|
||||||
|
@ -1235,5 +1236,5 @@
|
||||||
"categories": []
|
"categories": []
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"hash": "ac286b65bd2784775f7af6cf394f351b5af0e9381aa8f703a1d24432671452d4"
|
"hash": "210628059253d97a4833800b7326dc15af80ecb31e68d88780a83a9b99d2abf6"
|
||||||
}
|
}
|
|
@ -0,0 +1,23 @@
|
||||||
|
---
|
||||||
|
category_title: Testing
|
||||||
|
category_slug: testing
|
||||||
|
post_title: Testing
|
||||||
|
---
|
||||||
|
|
||||||
|
# Testing
|
||||||
|
|
||||||
|
Properly setting up your test environment and writing tests when contributing to WooCommrece core are essential parts of our development pipeline. The links below are also included in our [Contributing Guidelines](https://github.com/woocommerce/woocommerce/blob/trunk/.github/CONTRIBUTING.md) on GitHub.
|
||||||
|
|
||||||
|
If you have any questions about testing please reach out to the developer community in our public channels([Developer Blog](https://developer.woo.com/blog/), [GitHub Discussions](https://github.com/woocommerce/woocommerce/discussions), or [Community Slack](https://woo.com/community-slack/)).
|
||||||
|
|
||||||
|
## Unit Testing
|
||||||
|
|
||||||
|
[End-to-end tests](https://github.com/woocommerce/woocommerce/tree/trunk/plugins/woocommerce/tests/e2e-pw) are powered by `Playwright`. The test site is spun up using `wp-env` ([recommended](https://developer.wordpress.org/block-editor/reference-guides/packages/packages-env/)), but we will continue to support `e2e-environment` in the meantime, and slowly [deprecate](https://github.com/woocommerce/woocommerce/blob/trunk/plugins/woocommerce/tests/e2e/README.md) `Puppeteer` testing.
|
||||||
|
|
||||||
|
## API Testing
|
||||||
|
|
||||||
|
`api-core-tests` is a [package](https://github.com/woocommerce/woocommerce/tree/trunk/plugins/woocommerce/tests/api-core-tests#guide-for-writing-api-tests) that contains automated API tests for WooCommerce, based on `Playwright` and `wp-env`. It supersedes the SuperTest based `api-core-tests` package and `e2e-environment` setup, which we will gradually deprecate.
|
||||||
|
|
||||||
|
## Calls for Testing
|
||||||
|
|
||||||
|
Keep tabs on calls for testing on our developer blog, and make sure to read our beta testing instructions to help us build new features and enhancements.
|
Loading…
Reference in New Issue