Scenario: Software Development
- LearningThoughts is working on Software Product Development around Restaurants.
- For this they have hired developers
- Our Developers are follower of Martin fowler. Refer Here for CI article
- Our Team has decided to Perform CI/CD
Features to be built
- Menu is feature which we want to build
- Add items to menu
- Get the price of item in the menu
- Update the menu items
Installing Pytest
- Refer Here
- Pytest is simple yet powerful tool which follows pythonic way of testing.
- Add files with test_.py and name the methods with test_ and they are automatically recognized by test as test cases.
Current Status of menu
-
Menu is feature which we want to build
- Add items to menu
- Get the price of item in the menu -> Pending State
- Update the menu items
-
Next Topics:
- How to handle exceptions in Python and also unit testing exceptions with pytest.