Python Classroom Series – 24/Sept/2020

Scenario: Software Development

  • LearningThoughts is working on Software Product Development around Restaurants.
  • For this they have hired developers Preview
  • Our Developers are follower of Martin fowler. Refer Here for CI article Preview
  • 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
  • Refer Here

  • Next Topics:

    • How to handle exceptions in Python and also unit testing exceptions with pytest.

Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.

About learningthoughtsadmin