fixture database
A small, known set of sample data that every example and exercise runs against, so results are predictable.
In more detail
This course's fixture holds six customers, eight orders, their order items, products, categories and employees. Because the data is fixed, a query's expected answer can be stated in advance and checked.
Related terms
- table — A named set of rows that all have the same columns, where each row records one fact about one thing.
- SQLite — A small relational database that runs as a library inside your program and keeps the whole database in one file.
- fixture — A named piece of setup, defined with @pytest.fixture, that a test receives by listing the fixture's name as a parameter.
Taught in
- Why Tables And Relations Beat Files — PostgreSQL, Indexing & Relational Data Modeling
- Aggregate Functions — PostgreSQL, Indexing & Relational Data Modeling