Search⌘ K
AI Features

Creating Some Tests: Things to Check

Explore methods to create and implement tests that verify database consistency and game state correctness. Understand how to use ORM properties and validation techniques to maintain data integrity in your application updates.

We'll cover the following...

Checking consistency

Finding consistency checks that must hold helps to methodically step through the fields within the database. This is best accomplished by looking at the ORM. Of course, some consistency issues have already been addressed by the ORM properties themselves, such as the uniqueness of primary keys. Some things we might check:

...