HyloTestCase

open class HyloTestCase : XCTestCase

A test driver for executing test cases generated from Hylo source files.

This class is intended to be extended by test cases running Hylo programs through the compiler. It contains the logic for loading and sharing a type checked instance of the standard library across each individual test function, accessible. A unique copy of that shared instance is assigned to programToExtend before each test.

All tests of derived classes are skipped if the loading of the standard library fails.