Open nauar opened 3 months ago
In our testing setup, we should at least provide unit testing and end-to-end testing.
Found two main tools for unit testing in Python: unittest and pytest.
According to this source, Pytest is known for its simplicity, scalability, and powerful features such as fixture support and parameterization. It has a concise syntax and a rich plugin ecosystem. On the other hand, unittest is a built-in testing framework that follows the xUnit style and is part of the Python Standard Library.
We will try with unittest due to we need basic unit testing for this simple bot.
Found several options: Pytest (again), Robot Framework, behave, and lettuce.
We will try with behave.
As we are getting closer to the target version 1.0, we need to provide a full DevOps setup: