How to add and run tests? #18305
-
Hi everyone, I'm not a developer, but because I really needed to use the cmdlet New-AzFirewallPolicyApplicationRule (Az.Network) I've fixed this issue and manually tested it locally. From what I understand, before opening my pull request, I need to add and/or run automated tests. I've read the "contributing", "developer guide" and some other docs here, but I still can't figure out where to start. Can anyone point me to somewhere that gives me a better overview of what I need to do to add/run the required tests on the module so I can open the Pull Request? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
@diogomaul , thanks very much for your help and contribution. Please feel free to open PR at the first. We will look into your change and give you suggestions. Here is doc https://github.com/Azure/azure-powershell/blob/main/documentation/testing-docs/using-azure-test-framework.md. Please let us know your question. In short:
We recommend you use Visual Studio test explore to execute your test case only. It will be more efficient. |
Beta Was this translation helpful? Give feedback.
@diogomaul , thanks very much for your help and contribution. Please feel free to open PR at the first. We will look into your change and give you suggestions.
Here is doc https://github.com/Azure/azure-powershell/blob/main/documentation/testing-docs/using-azure-test-framework.md. Please let us know your question.
In short: