{"id":24142205,"url":"https://github.com/maliha-tasnim/python-unit-testing","last_synced_at":"2026-05-13T17:39:04.373Z","repository":{"id":197632218,"uuid":"158052379","full_name":"Maliha-Tasnim/Python-Unit-Testing","owner":"Maliha-Tasnim","description":"In this project, Test Driven Development (TDD) is implemented through unit testing. Here several test cases are build to test and debug different interfaces for a dine-out food service.","archived":false,"fork":false,"pushed_at":"2018-11-21T09:01:38.000Z","size":8,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-01-12T04:56:14.672Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Maliha-Tasnim.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2018-11-18T05:16:50.000Z","updated_at":"2018-11-21T09:01:39.000Z","dependencies_parsed_at":null,"dependency_job_id":"c537aeda-fcc4-46ce-9927-9d516f2d457e","html_url":"https://github.com/Maliha-Tasnim/Python-Unit-Testing","commit_stats":null,"previous_names":["maliha-tasnim/python-unit-testing"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Maliha-Tasnim%2FPython-Unit-Testing","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Maliha-Tasnim%2FPython-Unit-Testing/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Maliha-Tasnim%2FPython-Unit-Testing/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Maliha-Tasnim%2FPython-Unit-Testing/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Maliha-Tasnim","download_url":"https://codeload.github.com/Maliha-Tasnim/Python-Unit-Testing/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241369036,"owners_count":19951694,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-01-12T04:56:21.915Z","updated_at":"2025-11-23T20:06:16.017Z","avatar_url":"https://github.com/Maliha-Tasnim.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Python-Unit-Testing\nA unit testing project on python which demonstrates different test cases for dineout services of a restaurant.\nDineout class maintains a list of foods that are being dined out for customers.\nDineout class provides interfaces for:\n  1) Setting the price of individual foods\n  2) Adding individual fodds to dine out\n  3) The current total costs for all the foods added\n  4) Add discounts on selected food items when a particular amount of foods are purchased.\n\nThe test cases are as below:\n  1) Can create an instance of Dineout class\n  2) Can add a food \u0026 food price\n  3) Can calculate the current total\n  4) Can add discount rules\n  5) Exception is thrown for food item added without a price\n  6) Can add multiple food items and get current total\n  7) Can apply discount rules to the total\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmaliha-tasnim%2Fpython-unit-testing","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmaliha-tasnim%2Fpython-unit-testing","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmaliha-tasnim%2Fpython-unit-testing/lists"}