I'm building a bot using python and the Microsoft Bot Framework, running on localhost only. I want to perform unit tests on it, however every info I find is using C# or Javascript and I don't understand how to do this on Python.
PD: I'm also trying to implement a CI/CD pipeline for this on Azure Devops (just in case anyone knows if DevOps has anything that could help with doing these unit tests or something, sorry, I'm very new to this and still learning)
Here is the official document you can refer to. You can use scripts to install and run various tests in your pipeline.
This blog also introduces run Python test with Azure DevOps pipeline.
In addition , you can try to use Python Test extension.
Execute your Python 3 unit tests in Visual Studio Team Services and get your test results and coverage information as part of your build. The task uses the Python unittest-xml-reporting and coverage.py modules to execute the unit tests using test discovery.