So far we have simply tested parts of the game manually and we might forget to test if something we tested a long time ago still works with the new changes.
To avoid this unit tests and integrations tests are used. These are automatic tests that verify the correctness of a small, independent part (e.g. a function in a bigger module) in the case of unit tests and how different parts play together in the case of integrations tests.
So far we have simply tested parts of the game manually and we might forget to test if something we tested a long time ago still works with the new changes. To avoid this unit tests and integrations tests are used. These are automatic tests that verify the correctness of a small, independent part (e.g. a function in a bigger module) in the case of unit tests and how different parts play together in the case of integrations tests.