Package com.intuit.karate.junit5
Class Karate
java.lang.Object
com.intuit.karate.junit5.Karate
- All Implemented Interfaces:
Iterable<org.junit.jupiter.api.DynamicNode>
@Deprecated(since="2.0",
forRemoval=true)
public class Karate
extends Object
implements Iterable<org.junit.jupiter.api.DynamicNode>
Deprecated, for removal: This API element is subject to removal in a future version.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic @interfaceDeprecated, for removal: This API element is subject to removal in a future version.UseKarate.Testinstead. -
Method Summary
Modifier and TypeMethodDescriptionclientFactory(io.karatelabs.http.HttpClientFactory factory) Deprecated, for removal: This API element is subject to removal in a future version.UseKarate.httpClientFactory(HttpClientFactory)instead.Deprecated, for removal: This API element is subject to removal in a future version.UseKarate.configDir(String)instead.dryRun(boolean enabled) Deprecated, for removal: This API element is subject to removal in a future version.UseKarate.dryRun(boolean)instead.Iterator<org.junit.jupiter.api.DynamicNode> iterator()Deprecated, for removal: This API element is subject to removal in a future version.Deprecated, for removal: This API element is subject to removal in a future version.UseKarate.karateEnv(String)instead.Deprecated, for removal: This API element is subject to removal in a future version.UseKarate.outputDir(String)instead.outputHtmlReport(boolean enabled) Deprecated, for removal: This API element is subject to removal in a future version.UseKarate.outputHtmlReport(boolean)instead.relativeTo(Class<?> clazz) Deprecated, for removal: This API element is subject to removal in a future version.UseKarate.relativeTo(Class)instead.static KarateDeprecated, for removal: This API element is subject to removal in a future version.UseKarate.run(String...)instead.scenarioName(String name) Deprecated, for removal: This API element is subject to removal in a future version.UseKarate.scenarioName(String)instead.Stream<org.junit.jupiter.api.DynamicNode> stream()Deprecated, for removal: This API element is subject to removal in a future version.UseKarate.stream()instead.systemProperty(String key, String value) Deprecated, for removal: This API element is subject to removal in a future version.UseKarate.systemProperty(String, String)instead.Deprecated, for removal: This API element is subject to removal in a future version.UseKarate.tags(String...)instead.toV2()Deprecated, for removal: This API element is subject to removal in a future version.Get the underlying v2 Karate instance for gradual migration.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.lang.Iterable
forEach, spliterator
-
Method Details
-
run
Deprecated, for removal: This API element is subject to removal in a future version.UseKarate.run(String...)instead.Creates a new Karate instance configured to run the specified paths. -
relativeTo
Deprecated, for removal: This API element is subject to removal in a future version.UseKarate.relativeTo(Class)instead.Set paths relative to the given class. -
tags
Deprecated, for removal: This API element is subject to removal in a future version.UseKarate.tags(String...)instead.Set tag filter expressions. -
karateEnv
Deprecated, for removal: This API element is subject to removal in a future version.UseKarate.karateEnv(String)instead.Set the karate environment. -
systemProperty
Deprecated, for removal: This API element is subject to removal in a future version.UseKarate.systemProperty(String, String)instead.Set a system property. -
configDir
Deprecated, for removal: This API element is subject to removal in a future version.UseKarate.configDir(String)instead.Set the config directory. -
outputDir
Deprecated, for removal: This API element is subject to removal in a future version.UseKarate.outputDir(String)instead.Set the output directory. -
outputHtmlReport
Deprecated, for removal: This API element is subject to removal in a future version.UseKarate.outputHtmlReport(boolean)instead.Enable or disable HTML report. -
scenarioName
Deprecated, for removal: This API element is subject to removal in a future version.UseKarate.scenarioName(String)instead.Filter by scenario name. -
dryRun
Deprecated, for removal: This API element is subject to removal in a future version.UseKarate.dryRun(boolean)instead.Enable dry run mode. -
clientFactory
@Deprecated(since="2.0", forRemoval=true) public Karate clientFactory(io.karatelabs.http.HttpClientFactory factory) Deprecated, for removal: This API element is subject to removal in a future version.UseKarate.httpClientFactory(HttpClientFactory)instead.Set a custom HTTP client factory. -
stream
Deprecated, for removal: This API element is subject to removal in a future version.UseKarate.stream()instead.Returns a stream of dynamic test nodes. -
iterator
Deprecated, for removal: This API element is subject to removal in a future version. -
toV2
Deprecated, for removal: This API element is subject to removal in a future version.Get the underlying v2 Karate instance for gradual migration.
-
Karateinstead. This class will be removed in a future release.