Unit TestsΒΆ

The MOSA project has an extensive set of unit tests to help validate that the MOSA compiler is emitting correct binary code.

Execute the script Tests\RunAllUnitTestsWithPause.bat to run the unit tests.

The unit tests take a few minutes to execute on modern PC. The results will be automatically displayed on the screen. The last line shows the total number of tests and failed tests, and the total time. Similar to the following:

Total Elapsed: 95.3 secs

Unit Test Results:
   Passed:   68164
   Skipped:  4
   Failures: 0
   Total:    68168

All unit tests passed successfully!