Unit Tests

Modules are tested in isolation with unit tests. Dependencies on other modules must be replaced by mocks or stubs. For unit tests, Rusts integrated test framework [4, pp. 178] is used.

Unit tests are mostly used for standalone modules like linked lists, queues and channels. Some modules are too tightly coupled and need refactoring for effective unit testing.