-
Notifications
You must be signed in to change notification settings - Fork 948
append mgmt test example in file testing.md #25682
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
base: main
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull request overview
This PR adds comprehensive management plane testing documentation to the testing.md file. The changes include examples for both data plane and management plane testing workflows, specifically using the armchaos service as a reference implementation.
- Adds structured documentation for management plane test setup including asset.json configuration and test file structure
- Reorganizes the table of contents with corrected indentation
- Provides step-by-step examples for writing and running management plane tests
documentation/development/testing.md
Outdated
| #### example about `management plane` | ||
|
|
||
| A simple test for `armchaos` is shown below: | ||
| ##### The first step is to download prepared scripts to genrated asset.json in the path and create file utils_test.go |
Copilot
AI
Nov 28, 2025
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The heading structure is inconsistent. A level 5 heading (##### ) follows a level 4 heading (####) without an intermediate level. Consider using #### or restructuring the headings to maintain a proper hierarchy.
| ##### The first step is to download prepared scripts to genrated asset.json in the path and create file utils_test.go | |
| #### The first step is to download prepared scripts to genrated asset.json in the path and create file utils_test.go |
|
|
||
| ``` | ||
|
|
||
| ##### Then you can add the test file |
Copilot
AI
Nov 28, 2025
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The heading structure is inconsistent. A level 5 heading (##### ) follows a level 4 heading (####) without an intermediate level. Consider using #### or restructuring the headings to maintain a proper hierarchy.
| ##### Then you can add the test file | |
| ### Then you can add the test file |
|
|
||
| ``` | ||
|
|
||
| ##### At last, you can run test via command `go test -run TestOperationsTestSuite` |
Copilot
AI
Nov 28, 2025
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The heading structure is inconsistent. A level 5 heading (##### ) follows a level 4 heading (####) without an intermediate level. Consider using #### or restructuring the headings to maintain a proper hierarchy.
| ##### At last, you can run test via command `go test -run TestOperationsTestSuite` | |
| #### At last, you can run test via command `go test -run TestOperationsTestSuite` |
|
|
||
| 1. Run the following PowerShell commands to download necessary scripts: | ||
|
|
||
| ```ps |
Copilot
AI
Nov 28, 2025
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The code fence should use 'powershell' as the language identifier instead of 'ps' for better syntax highlighting and clarity.
| ```ps | |
| ```powershell |
Co-authored-by: Copilot <[email protected]>
Co-authored-by: Copilot <[email protected]>
Co-authored-by: Copilot <[email protected]>
Co-authored-by: Copilot <[email protected]>
Co-authored-by: Copilot <[email protected]>
Co-authored-by: Copilot <[email protected]>
append mgmt test example in file testing.md
https://github.com/Azure/azure-sdk-for-go/blob/d1a1a45f72a0a35372ebfeaaf042bdef642365df/documentation/development/testing.md