GenerateHyloFileTests
@main
struct GenerateHyloFileTests : ParsableCommand, Sendable
A command-line tool that generates XCTest cases for a list of annotated “.hylo” files as part of our build process.
-
Undocumented
Declaration
Swift
@Option var outputURL: URL { get set } -
Undocumented
Declaration
Swift
@Option var testCaseName: String { get set } -
Undocumented
Declaration
Swift
@Argument var hyloSourceFiles: [URL] { get set } -
Returns the Swift source of the test function for the Hylo program at
source, which is the URL of a single source file or the root directory of a module.Declaration
Swift
func swiftFunctionTesting(hyloProgramAt source: URL) throws -> String -
Declaration
Swift
func run() throws
View on GitHub