v0.2.0
Breaking changes:
With the introduction of TestNG support, JUnit support had to be factored out into a new Maven module.
Maven artifact has changed
<dependency>
<groupId>com.intuit.karate</groupId>
<!-- before -->
<!-- <artifactId>karate-core</artifactId> -->
<!-- after -->
<artifactId>karate-junit4</artifactId>
<version>0.2.0</version>
<scope>test</scope>
</dependency>
Package name change for JUnit runner
There is a change to the package name.
// before
import com.intuit.karate.Karate;
// after
import com.intuit.karate.junit4.Karate;
Header manipulation is now set via configure
headers
is no longer a magic variable. use the configure headers
syntax to set up header manipulation.
# before
* def headers = read('my-header-function.js')
# after
* configure headers = read('my-header-function.js')
How to enable SSL has changed
enabling ssl is now via the unified configure
syntax
# before
* ssl enabled
# after
* configure ssl = true
New: HTTP time outs
Now http read and connection timeouts can be configured.