The majority of AuroraLoader functionality that touches the 'outside world' relies on the functions provided by this class, so ensuring solid unit test coverage here will have huge benefits for the entire application. Fortunately, the nature of these static functions make them easy to test!
https://github.com/Aurora-Modders/AuroraLoader/blob/master/AuroraLoader/Mods/ModConfigurationReader.cs is a utility class that provides static functions for reading
ModConfiguration
from a.ini
file, validating loaded mod configurations (whether from ini or json), loading lists of Aurora versions and checksums, and parsing dictionaries to and from .ini files.The majority of AuroraLoader functionality that touches the 'outside world' relies on the functions provided by this class, so ensuring solid unit test coverage here will have huge benefits for the entire application. Fortunately, the nature of these static functions make them easy to test!