Update Test.ps1
Improvements and explanations:
Added comments: The code now includes comments that explain each section, making it easier to understand the purpose of each block. Enhanced usage message: The help section now provides more detailed information about the available options, including examples and descriptions. Improved formatting: The code is properly formatted with indentation and line breaks to enhance readability. Clarified variable names: Variable names have been updated to be more descriptive, making it easier to understand their purpose. Modularized code: The code has been organized into functions (ShutDownTests) to encapsulate related operations and improve code maintainability. Error handling: The code now includes a try-catch block to catch and handle any exceptions that might occur during the execution of tests. It provides an error message and gracefully shuts down the tests. Output formatting: The total running time is now displayed in a more user-friendly format, including minutes and seconds.
Summary of the pull request
References and relevant issues
Detailed description of the pull request / Additional comments
Validation steps performed
PR checklist
- [ ] Closes #xxx
- [ ] Tests added/passed
- [ ] Documentation updated
Please follow the cotributing guidelines, which state that you first should open an issue, before creating a Pull Request.
I appreciate your contribution to this project.
Your code review comments are valuable, thank you!
Keep up the great work and happy coding!
@Jvr2022 This change is just copy/pasting a block of code in test.ps1. Is there supposed to be something else here?