urban-meal-delivery/tests
Alexander Hess fdcc93a1ea
Add an ORM layer
- use SQLAlchemy (and PostgreSQL) to model the ORM layer
- add the following models:
  + Address => modelling all kinds of addresses
  + City => model the three target cities
  + Courier => model the UDP's couriers
  + Customer => model the UDP's customers
  + Order => model the orders received by the UDP
  + Restaurant => model the restaurants active on the UDP
- so far, the emphasis lies on expression the Foreign Key
  and Check Constraints that are used to validate the assumptions
  inherent to the cleanded data
- provide database-independent unit tests with 100% coverage
- provide additional integration tests ("e2e") that commit data to
  a PostgreSQL instance to validate that the constraints work
- adapt linting rules a bit
2020-08-11 10:28:17 +02:00
..
db Add an ORM layer 2020-08-11 10:28:17 +02:00
__init__.py Add a testing tool chain 2020-08-04 00:09:29 +02:00
test_config.py Add an ORM layer 2020-08-11 10:28:17 +02:00
test_console.py Run type checks only against packaged *.py files 2020-08-04 22:57:55 +02:00
test_version.py Run type checks only against packaged *.py files 2020-08-04 22:57:55 +02:00