INNER CODE UNIT · Swift

findGradle

skiptools/skip · Sources/SkipDrive/GradleDriver.swift:342

    private static func findGradle() throws -> URL {
        // add in standard Homebrew paths, in case they aren't in the user's PATH
        return try URL.findCommandInPath(toolName: "gradle", withAdditionalPaths: [ProcessInfo.homebrewRoot + "/bin"])
    }

    /* The contents of the JUnit test case XML result files look a bit like this:

    <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
    <testsuite name="sample.project.LibraryTest" tests="2" skipped="0" failures="1" errors="0" timestamp="2023-03-13T16:47:39" hostname="zap.local" time="0.021">
        <properties>
        </properties>
        <testcase name="someLibraryMethodReturnsTrue()" classname="sample.project.LibraryTest" time="0.015">
        </testcase>
        <testcase name="someTestCaseThatAlwaysFails()" classname="sample.project.LibraryTest" time="0.005">
            <failure message="org.opentest4j.AssertionFailedError: THIS TEST CASE ALWAYS FAILS" type="org.opentest4j.AssertionFailedError">org.opentest4j.AssertionFailedError: THIS TEST CASE ALWAYS FAILS"
            type="org.opentest4j.AssertionFailedError">
               org.opentest4j.AssertionFailedError: THIS TEST CASE ALWAYS FAILS
                 at app//org.junit.jupiter.api.AssertionUtils.fail(AssertionUtils.java:38)

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…