Skip to content

Commit bb7ccce

Browse files
committed
[no ci] prep release 1.5.0
1 parent d73303c commit bb7ccce

File tree

22 files changed

+39
-36
lines changed

22 files changed

+39
-36
lines changed

README.md

Lines changed: 9 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -323,8 +323,8 @@ For teams familiar with or currently using [REST-assured](http://rest-assured.io
323323

324324
## References
325325
* [API Testing with Karate](https://youtu.be/WT4gg7Jutzg) - video + demos by [Peter Thomas](https://twitter.com/ptrthomas) (creator / lead dev of Karate)
326-
* [Intro to all features of Karate](https://youtu.be/yu3uupBZyxc) - video + demos by [Peter Thomas](https://twitter.com/ptrthomas) (creator / lead dev of Karate)
327-
* [Karate entered the ThoughtWorks Tech Radar](https://twitter.com/KarateDSL/status/1120985060843249664) in 2019 and was [upgraded in ranking](https://twitter.com/KarateDSL/status/1262719979104817152) in May 2020
326+
* [Introducing Karate: The ULTIMATE Test Automation Tool](https://youtu.be/_kMxvd37auc?si=WOEkvEUH6eWeHZUC) - video by [James Willett](https://www.linkedin.com/in/willettjames/)
327+
* [Karate in the ThoughtWorks Tech Radar](https://twitter.com/KarateDSL/status/1120985060843249664) and featured [a second time](https://twitter.com/KarateDSL/status/1262719979104817152)
328328
* [マイクロサービスにおけるテスト自動化 with Karate](https://speakerdeck.com/takanorig/microservices-testing-automation-with-karate) - (*Microservices Test Automation with Karate*) presentation by [Takanori Suzuki](https://twitter.com/takanorig)
329329
* [Writing API Tests with Karate](https://www.softwaretester.blog/writing-api-tests-with-karate) - book by [Benjamin Bischoff](https://www.softwaretester.blog/about), Packt Publishing, 2023
330330
* [Karate Webinar](https://www.youtube.com/watch?v=cXDIYpT6zck&t=4333s) - Simplificando automação de API com Karate Framework by [Luana Assis](https://www.linkedin.com/in/luanapassis/) from [Base2 Tecnologia](https://www.base2.com.br/)
@@ -334,7 +334,7 @@ Karate also has a dedicated "tag", and a very active and supportive community at
334334
You can find a lot more references, tutorials and blog-posts at [karatelabs.io](https://karatelabs.io).
335335

336336
# Getting Started
337-
If you are a Java developer - Karate requires at least [Java](http://www.oracle.com/technetwork/java/javase/downloads/index.html) 11 and then either [Maven](http://maven.apache.org), [Gradle](https://gradle.org), or a Java IDE that embeds either to be installed. Note that Karate works fine on OpenJDK.
337+
If you are a Java developer - Karate requires at least [Java](http://www.oracle.com/technetwork/java/javase/downloads/index.html) 17 and then either [Maven](http://maven.apache.org), [Gradle](https://gradle.org), or a Java IDE that embeds either to be installed. Note that Karate works fine on OpenJDK.
338338

339339
If you are new to programming or test-automation, the [official IntelliJ plugin](https://plugins.jetbrains.com/plugin/19232-karate) is recommended.
340340

@@ -347,9 +347,9 @@ All you need is available in the [`karate-core`](https://search.maven.org/artifa
347347

348348
```xml
349349
<dependency>
350-
<groupId>com.intuit.karate</groupId>
350+
<groupId>io.karatelabs</groupId>
351351
<artifactId>karate-junit5</artifactId>
352-
<version>1.4.1</version>
352+
<version>1.5.0</version>
353353
<scope>test</scope>
354354
</dependency>
355355
```
@@ -358,7 +358,7 @@ All you need is available in the [`karate-core`](https://search.maven.org/artifa
358358
Alternatively for [Gradle](https://gradle.org):
359359

360360
```yml
361-
testCompile 'com.intuit.karate:karate-junit5:1.4.1'
361+
testCompile 'io.karatelabs:karate-junit5:1.5.0'
362362
```
363363

364364
Also refer to the wiki for using [Karate with Gradle](https://github.com/karatelabs/karate/wiki/Gradle).
@@ -372,7 +372,7 @@ For example when using Maven:
372372

373373
```xml
374374
<dependency>
375-
<groupId>com.intuit.karate</groupId>
375+
<groupId>io.karatelabs</groupId>
376376
<artifactId>karate-core</artifactId>
377377
<version>${karate.version}</version>
378378
<classifier>all</classifier>
@@ -391,9 +391,9 @@ You can replace the values of `com.mycompany` and `myproject` as per your needs.
391391

392392
```
393393
mvn archetype:generate \
394-
-DarchetypeGroupId=com.intuit.karate \
394+
-DarchetypeGroupId=io.karatelabs \
395395
-DarchetypeArtifactId=karate-archetype \
396-
-DarchetypeVersion=1.4.1 \
396+
-DarchetypeVersion=1.5.0 \
397397
-DgroupId=com.mycompany \
398398
-DartifactId=myproject
399399
```
@@ -444,9 +444,6 @@ With the above in place, you don't have to keep switching between your `src/test
444444

445445
Once you get used to this, you may even start wondering why projects need a `src/test/resources` folder at all !
446446

447-
### Spring Boot Example
448-
[Soumendra Daas](https://twitter.com/sdaas) has created a nice example and guide that you can use as a reference here: [`hello-karate`](https://github.com/Sdaas/hello-karate). This demonstrates a Java Maven + JUnit 5 project set up to test a [Spring Boot](http://projects.spring.io/spring-boot/) app.
449-
450447
## Naming Conventions
451448
Since these are tests and not production Java code, you don't need to be bound by the `com.mycompany.foo.bar` convention and the un-necessary explosion of sub-folders that ensues. We suggest that you have a folder hierarchy only one or two levels deep - where the folder names clearly identify which 'resource', 'entity' or API is the web-service under test.
452449

examples/consumer-driven-contracts/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
<spring.boot.version>3.2.2</spring.boot.version>
2020
<junit5.version>5.7.0</junit5.version>
2121
<java.version>17</java.version>
22-
<karate.version>1.5.0.RC3</karate.version>
22+
<karate.version>1.5.0</karate.version>
2323
</properties>
2424

2525
<dependencies>

examples/gatling/README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
# karate-gatling-demo
22
demo sample project for karate [test-doubles](https://github.com/karatelabs/karate/tree/master/karate-netty) and [gatling integration](https://github.com/karatelabs/karate/tree/master/karate-gatling)
33

4+
> Another example which demos the use of the Java DSL instead of Scala can be found here: [karate-todo](https://github.com/karatelabs/karate-todo).
5+
46
## Instructions
57

68
```

examples/gatling/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ plugins {
33
}
44

55
ext {
6-
karateVersion = '1.5.0.RC1'
6+
karateVersion = '1.5.0'
77
}
88

99
dependencies {

examples/gatling/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99

1010
<properties>
1111
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
12-
<java.version>11</java.version>
12+
<java.version>17</java.version>
1313
<maven.compiler.version>3.6.0</maven.compiler.version>
1414
<!-- please change this when running locally -->
1515
<karate.version>${project.version}</karate.version>

examples/image-comparison/pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,9 @@
99

1010
<properties>
1111
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
12-
<java.version>11</java.version>
12+
<java.version>17</java.version>
1313
<maven.compiler.version>3.8.1</maven.compiler.version>
14-
<karate.version>1.4.1</karate.version>
14+
<karate.version>1.5.0</karate.version>
1515
</properties>
1616

1717
<dependencies>

examples/mobile-test/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99

1010
<properties>
1111
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
12-
<java.version>11</java.version>
12+
<java.version>17</java.version>
1313
<maven.compiler.version>3.8.1</maven.compiler.version>
1414
<maven.surefire.version>2.22.2</maven.surefire.version>
1515
<karate.version>1.4.1</karate.version>

examples/profiling-test/pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,9 @@
99

1010
<properties>
1111
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
12-
<java.version>11</java.version>
12+
<java.version>17</java.version>
1313
<maven.compiler.version>3.6.0</maven.compiler.version>
14-
<karate.version>1.4.1</karate.version>
14+
<karate.version>1.5.0</karate.version>
1515
<gatling.plugin.version>4.1.1</gatling.plugin.version>
1616
</properties>
1717

examples/robot-test/pom.xml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,10 @@
99

1010
<properties>
1111
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
12-
<java.version>11</java.version>
12+
<java.version>17</java.version>
1313
<maven.compiler.version>3.8.1</maven.compiler.version>
1414
<maven.surefire.version>2.22.2</maven.surefire.version>
15-
<karate.version>1.4.1</karate.version>
15+
<karate.version>1.5.0</karate.version>
1616
</properties>
1717

1818
<dependencies>
@@ -23,7 +23,7 @@
2323
<scope>test</scope>
2424
</dependency>
2525
<dependency>
26-
<groupId>com.intuit.karate</groupId>
26+
<groupId>io.karatelabs</groupId>
2727
<artifactId>karate-junit5</artifactId>
2828
<version>${karate.version}</version>
2929
<scope>test</scope>

examples/ui-test/pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,9 @@
99

1010
<properties>
1111
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
12-
<java.version>11</java.version>
12+
<java.version>17</java.version>
1313
<maven.compiler.version>3.6.0</maven.compiler.version>
14-
<karate.version>1.4.1</karate.version>
14+
<karate.version>1.5.0</karate.version>
1515
</properties>
1616

1717
<dependencies>

0 commit comments

Comments
 (0)