wrye-bash / wrye-bash

A swiss army knife for modding Bethesda games.
https://wrye-bash.github.io
GNU General Public License v3.0
455 stars 79 forks source link

Consider architecture tests #679

Open Infernio opened 2 months ago

Infernio commented 2 months ago

We've been working on improving WB's architecture for a long time and have made major strides breaking up dependency cycles and decoupling parts that should be separate (e.g. balt/gui from bosh 🎉).

To prevent problems like that from creeping back in, enforcing architectural unit tests would be a great idea. Java is the forerunner here, with the well-known ArchUnit, but Python does have some promising-looking tools here as well:

Both seem to be actively maintained, which is certainly a plus.