Ramin-RX7 / CafeMenu

Café management website with custom dashboard panel for staff
MIT License
2 stars 4 forks source link

Create tests for `orders` app #164

Closed Ramin-RX7 closed 1 year ago

Ramin-RX7 commented 1 year ago

For the orders app create these tests:

Few notes:

  1. Do not test multiple parts of the app in the same test
  2. Have the coverage of 100% on your this app
  3. Make sure you test everything possible (response status code, template used, context, model fields, model methods, view response contents, etc.)
  4. Make a package for tests and put different test cases into their own corresponding file.