1
0
mirror of synced 2025-12-21 02:46:50 -05:00

Update filenames to match short titles, add contentType frontmatter (#56836)

Co-authored-by: Sarita Iyer <66540150+saritai@users.noreply.github.com>
This commit is contained in:
Siara
2025-07-24 13:04:21 -07:00
committed by GitHub
parent 877ffc641d
commit bbd6ab4ae3
263 changed files with 1049 additions and 347 deletions

View File

@@ -6,6 +6,7 @@ redirect_from:
- /copilot/example-prompts-for-github-copilot-chat/testing-code/create-end-to-end-tests-for-a-webpage
- /copilot/copilot-chat-cookbook/testing-code/create-end-to-end-tests-for-a-webpage
- /copilot/tutorials/copilot-chat-cookbook/testing-code/create-end-to-end-tests-for-a-webpage
- /copilot/tutorials/copilot-chat-cookbook/testing-code/creating-end-to-end-tests-for-a-webpage
versions:
feature: copilot
category:
@@ -15,6 +16,7 @@ complexity:
octicon: beaker
topics:
- Copilot
contentType: tutorials
---
Creating end-to-end tests for a webpage can be time-consuming and complex as the HTML will be generated dynamically. {% data variables.copilot.copilot_chat_short %} can help you create end-to-end tests for a webpage by suggesting the necessary code to interact with the webpage and validate the expected results.

View File

@@ -6,6 +6,7 @@ redirect_from:
- /copilot/example-prompts-for-github-copilot-chat/testing-code/create-mock-objects-to-abstract-layers
- /copilot/copilot-chat-cookbook/testing-code/create-mock-objects-to-abstract-layers
- /copilot/tutorials/copilot-chat-cookbook/testing-code/create-mock-objects-to-abstract-layers
- /copilot/tutorials/copilot-chat-cookbook/testing-code/creating-mock-objects-to-abstract-layers
versions:
feature: copilot
category:
@@ -15,6 +16,7 @@ complexity:
octicon: beaker
topics:
- Copilot
contentType: tutorials
---
When creating unit tests, it's important to ensure they're isolated and not depending on external services. One way to achieve this is to create mock objects that abstract layers of your application. {% data variables.copilot.copilot_chat_short %} can help you generate the code you need to create these mock objects.

View File

@@ -14,6 +14,7 @@ complexity:
octicon: beaker
topics:
- Copilot
contentType: tutorials
---
A good suite of unit tests is critical to the success of any project. However, writing these tests can be time-consuming and are often neglected. {% data variables.copilot.copilot_chat_short %} can help generate these tests for you.

View File

@@ -10,7 +10,8 @@ topics:
- Copilot
children:
- /generate-unit-tests
- /creating-mock-objects-to-abstract-layers
- /creating-end-to-end-tests-for-a-webpage
- /create-mock-objects
- /create-end-to-end-tests
contentType: tutorials
---