Running tests
If you have followed the template approach a tests
folder is already included in the repository. Add all your unit test files to this folder. Keeping tests organized in this location ensures they are correctly picked up during the release pipeline.
Running tests in vs code
Refer to this guide from microsoft.
Running tests locally using the command line
ArupCompute python template uses pytest
library for testing. If it's not already installed, you can install it with: pip install pytest
. Then, run your tests using the following command: python -m pytest tests