Package com.intuit.karate
Class Results
java.lang.Object
com.intuit.karate.Results
Deprecated, for removal: This API element is subject to removal in a future version.
V1 compatibility shim for
SuiteResult.
This class provides backward compatibility for code written against Karate v1.
Migrate to SuiteResult for new code.
-
Constructor Summary
ConstructorsConstructorDescriptionResults(SuiteResult delegate) Deprecated, for removal: This API element is subject to removal in a future version. -
Method Summary
Modifier and TypeMethodDescriptionDeprecated, for removal: This API element is subject to removal in a future version.UseSuiteResult.getErrors()instead.intDeprecated, for removal: This API element is subject to removal in a future version.UseSuiteResult.getScenarioFailedCount()instead.intDeprecated, for removal: This API element is subject to removal in a future version.UseSuiteResult.getFeatureCount()instead.intDeprecated, for removal: This API element is subject to removal in a future version.UseSuiteResult.getScenarioPassedCount()instead.Deprecated, for removal: This API element is subject to removal in a future version.Configure output directory via Runner.Builder.outputDir() instead.intDeprecated, for removal: This API element is subject to removal in a future version.UseSuiteResult.getScenarioCount()instead.Deprecated, for removal: This API element is subject to removal in a future version.Get the underlying v2 SuiteResult for gradual migration.
-
Constructor Details
-
Results
Deprecated, for removal: This API element is subject to removal in a future version.
-
-
Method Details
-
getFailCount
Deprecated, for removal: This API element is subject to removal in a future version.UseSuiteResult.getScenarioFailedCount()instead.Get the number of failed scenarios. -
getPassCount
Deprecated, for removal: This API element is subject to removal in a future version.UseSuiteResult.getScenarioPassedCount()instead.Get the number of passed scenarios. -
getScenarioCount
Deprecated, for removal: This API element is subject to removal in a future version.UseSuiteResult.getScenarioCount()instead.Get the total number of scenarios. -
getFeatureCount
Deprecated, for removal: This API element is subject to removal in a future version.UseSuiteResult.getFeatureCount()instead.Get the total number of features. -
getErrorMessages
Deprecated, for removal: This API element is subject to removal in a future version.UseSuiteResult.getErrors()instead.Get all error messages joined by newlines. -
getReportDir
Deprecated, for removal: This API element is subject to removal in a future version.Configure output directory via Runner.Builder.outputDir() instead.Get the report directory path.Note: In v2, the report directory is configured via
Runner.Builder.outputDir(String)and defaults to "target/karate-reports". -
toSuiteResult
Deprecated, for removal: This API element is subject to removal in a future version.Get the underlying v2 SuiteResult for gradual migration.
-
SuiteResultinstead. This class will be removed in a future release.