Unit tests

OpenMW unit tests are here: apps/openmw_test_suite. It uses gtest framework.

If you add a new component, consider to add unit tests for it as well.

How to run unit tests
Install dependencies (example for Ubuntu):

Configure OpenMW to build tests:

Run all tests:

Run some tests: