Testing - worldscapes/engine GitHub Wiki

Testing levels

Unit testing (built-in and done by user)

Engine provides mock API objects for user to do unit testing. Built-in API object implementations are tested by built-in Unit tests. If user do their custom implementation, they need to do Unit testing on their own.

Unit tests test public methods of API object implementation. Unit tests can be writen to test custom Rules.

Integration testing (built-in and done by user)

Engine provides suits that take configured API object to test. Object configuration is done by user.

Integration testing tests public methods of API object in integration with other API objects.

E2E tests (done by user)

Engine provides suits for E2E testing, they take complitely configured Engine Client and Server instances.

E2E tests test Engine instance by inputing and reading output through Display layer.