w23 / xash3d-fwgs

Vulkan Ray Tracing fork of Xash3D FWGS engine. Intended to be merged into master at some point in the future.
160 stars 16 forks source link

Lack of unit tests affects development velocity #646

Open w23 opened 6 months ago

w23 commented 6 months ago

Recently the lack of comprehensive unit tests has bit us painfully. Updating some things lead to breakage of other things. We might need to elevate the discussion about increasing unit test coverage.

Not a lot of things are unit testable in isolation. Currently only alolcator and urmom are covered by miniature ad-hoc unit tests. There are not much other things that can be as easily tested in isolation (i.e. without the rest of the engine, vulkan drivers/devices, and the rest of the entire circus).

Thing we might want to cover with integration-like tests:

How to engage tests:

How to specify verification:

Issues: