SkyUnit is a Unit Testing Framework for Skyrim Papyrus Scripts
The goal for v1 of SkyUnit is to be as minimal as possible:
- Any script with a name ending in "
UnitTest" is automatically run - Only
globalfunctions are supported- Functions with names starting with
Testare each run as test cases
- Functions with names starting with
- Test results are written to
SkyUnit.TestResults.log- A summary of all test results is printed at the very end
SkyUnit.Assert(bool, [string message])is the only assertion provided- On a failure, the Papyrus source code file name and line number are provided
- The game automatically exits after all unit tests have been run
- None of this is configurable

