All Downloads are FREE. Search and download functionalities are using the official Maven repository.

net.serenitybdd.reports.io.ReportIO.kt Maven / Gradle / Ivy

package net.serenitybdd.reports.io

import net.thucydides.model.reports.OutcomeFormat
import net.thucydides.model.reports.TestOutcomeLoader
import net.thucydides.model.reports.TestOutcomes
import java.nio.file.Path

fun testOutcomesIn(outputDirectory: Path): TestOutcomes {
    return TestOutcomeLoader.loadTestOutcomes().inFormat(OutcomeFormat.JSON).from(outputDirectory.toFile())
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy