diff --git a/README.md b/README.md index 680ec49bb..48eda8c04 100755 --- a/README.md +++ b/README.md @@ -323,8 +323,8 @@ For teams familiar with or currently using [REST-assured](http://rest-assured.io ## References * [API Testing with Karate](https://youtu.be/WT4gg7Jutzg) - video + demos by [Peter Thomas](https://twitter.com/ptrthomas) (creator / lead dev of Karate) -* [Intro to all features of Karate](https://youtu.be/yu3uupBZyxc) - video + demos by [Peter Thomas](https://twitter.com/ptrthomas) (creator / lead dev of Karate) -* [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 +* [Introducing Karate: The ULTIMATE Test Automation Tool](https://youtu.be/_kMxvd37auc?si=WOEkvEUH6eWeHZUC) - video by [James Willett](https://www.linkedin.com/in/willettjames/) +* [Karate in the ThoughtWorks Tech Radar](https://twitter.com/KarateDSL/status/1120985060843249664) and featured [a second time](https://twitter.com/KarateDSL/status/1262719979104817152) * [マイクロサービスにおけるテスト自動化 with Karate](https://speakerdeck.com/takanorig/microservices-testing-automation-with-karate) - (*Microservices Test Automation with Karate*) presentation by [Takanori Suzuki](https://twitter.com/takanorig) * [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 * [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 You can find a lot more references, tutorials and blog-posts at [karatelabs.io](https://karatelabs.io). # Getting Started -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. +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. If you are new to programming or test-automation, the [official IntelliJ plugin](https://plugins.jetbrains.com/plugin/19232-karate) is recommended. @@ -347,9 +347,9 @@ All you need is available in the [`karate-core`](https://search.maven.org/artifa ```xml - com.intuit.karate + io.karatelabs karate-junit5 - 1.4.1 + 1.5.0 test ``` @@ -358,7 +358,7 @@ All you need is available in the [`karate-core`](https://search.maven.org/artifa Alternatively for [Gradle](https://gradle.org): ```yml - testCompile 'com.intuit.karate:karate-junit5:1.4.1' + testCompile 'io.karatelabs:karate-junit5:1.5.0' ``` 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: ```xml - com.intuit.karate + io.karatelabs karate-core ${karate.version} all @@ -391,9 +391,9 @@ You can replace the values of `com.mycompany` and `myproject` as per your needs. ``` mvn archetype:generate \ --DarchetypeGroupId=com.intuit.karate \ +-DarchetypeGroupId=io.karatelabs \ -DarchetypeArtifactId=karate-archetype \ --DarchetypeVersion=1.4.1 \ +-DarchetypeVersion=1.5.0 \ -DgroupId=com.mycompany \ -DartifactId=myproject ``` @@ -444,9 +444,6 @@ With the above in place, you don't have to keep switching between your `src/test Once you get used to this, you may even start wondering why projects need a `src/test/resources` folder at all ! -### Spring Boot Example -[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. - ## Naming Conventions 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. diff --git a/examples/consumer-driven-contracts/pom.xml b/examples/consumer-driven-contracts/pom.xml index 312990879..90b3c3782 100755 --- a/examples/consumer-driven-contracts/pom.xml +++ b/examples/consumer-driven-contracts/pom.xml @@ -19,7 +19,7 @@ 3.2.2 5.7.0 17 - 1.5.0.RC3 + 1.5.0 diff --git a/examples/gatling/README.md b/examples/gatling/README.md index 9b2805aa9..e97df6746 100755 --- a/examples/gatling/README.md +++ b/examples/gatling/README.md @@ -1,6 +1,8 @@ # karate-gatling-demo 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) +> 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). + ## Instructions ``` diff --git a/examples/gatling/build.gradle b/examples/gatling/build.gradle index 1b210cdb2..bcd616dcf 100644 --- a/examples/gatling/build.gradle +++ b/examples/gatling/build.gradle @@ -3,7 +3,7 @@ plugins { } ext { - karateVersion = '1.5.0.RC1' + karateVersion = '1.5.0' } dependencies { diff --git a/examples/gatling/pom.xml b/examples/gatling/pom.xml index 79a93ccd7..156a638c6 100755 --- a/examples/gatling/pom.xml +++ b/examples/gatling/pom.xml @@ -9,7 +9,7 @@ UTF-8 - 11 + 17 3.6.0 ${project.version} diff --git a/examples/image-comparison/pom.xml b/examples/image-comparison/pom.xml index 583192155..2aebc1529 100644 --- a/examples/image-comparison/pom.xml +++ b/examples/image-comparison/pom.xml @@ -9,9 +9,9 @@ UTF-8 - 11 + 17 3.8.1 - 1.4.1 + 1.5.0 diff --git a/examples/mobile-test/pom.xml b/examples/mobile-test/pom.xml index dde1b40ad..002ae7911 100644 --- a/examples/mobile-test/pom.xml +++ b/examples/mobile-test/pom.xml @@ -9,7 +9,7 @@ UTF-8 - 11 + 17 3.8.1 2.22.2 1.4.1 diff --git a/examples/profiling-test/pom.xml b/examples/profiling-test/pom.xml index d6ec58ae6..a8bb86807 100755 --- a/examples/profiling-test/pom.xml +++ b/examples/profiling-test/pom.xml @@ -9,9 +9,9 @@ UTF-8 - 11 + 17 3.6.0 - 1.4.1 + 1.5.0 4.1.1 diff --git a/examples/robot-test/pom.xml b/examples/robot-test/pom.xml index 8cdac91d5..3dce3549d 100644 --- a/examples/robot-test/pom.xml +++ b/examples/robot-test/pom.xml @@ -9,10 +9,10 @@ UTF-8 - 11 + 17 3.8.1 2.22.2 - 1.4.1 + 1.5.0 @@ -23,7 +23,7 @@ test - com.intuit.karate + io.karatelabs karate-junit5 ${karate.version} test diff --git a/examples/ui-test/pom.xml b/examples/ui-test/pom.xml index 8b5cd60c3..e93ecfb0c 100644 --- a/examples/ui-test/pom.xml +++ b/examples/ui-test/pom.xml @@ -9,9 +9,9 @@ UTF-8 - 11 + 17 3.6.0 - 1.4.1 + 1.5.0 diff --git a/jbang-catalog.json b/jbang-catalog.json index 502dc68db..a7a976132 100644 --- a/jbang-catalog.json +++ b/jbang-catalog.json @@ -2,7 +2,7 @@ "catalogs": {}, "aliases": { "karate": { - "script-ref": "io.karatelabs:karate-core:1.5.0.RC1:all" + "script-ref": "io.karatelabs:karate-core:1.5.0:all" } } } \ No newline at end of file diff --git a/karate-archetype/pom.xml b/karate-archetype/pom.xml index b70009c84..f5114f75e 100755 --- a/karate-archetype/pom.xml +++ b/karate-archetype/pom.xml @@ -5,7 +5,7 @@ io.karatelabs karate-parent - 1.6.0-SNAPSHOT + 1.5.0 karate-archetype jar diff --git a/karate-archetype/src/main/resources/archetype-resources/pom.xml b/karate-archetype/src/main/resources/archetype-resources/pom.xml index 3e2299c41..751288483 100755 --- a/karate-archetype/src/main/resources/archetype-resources/pom.xml +++ b/karate-archetype/src/main/resources/archetype-resources/pom.xml @@ -12,7 +12,7 @@ 11 3.11.0 3.0.0 - 1.5.0.RC1 + 1.5.0 diff --git a/karate-core/pom.xml b/karate-core/pom.xml index 620cd991e..038f8d3be 100644 --- a/karate-core/pom.xml +++ b/karate-core/pom.xml @@ -5,7 +5,7 @@ io.karatelabs karate-parent - 1.6.0-SNAPSHOT + 1.5.0 karate-core jar diff --git a/karate-core/src/test/resources/readme.txt b/karate-core/src/test/resources/readme.txt index 74db5067f..28d5da82b 100644 --- a/karate-core/src/test/resources/readme.txt +++ b/karate-core/src/test/resources/readme.txt @@ -28,6 +28,10 @@ mvn versions:set versions:commit -DnewVersion=@@@ (save the sonatype report) +jbang +===== +# edit https://github.com/karatelabs/jbang-catalog + release radar ============= https://github.com/github/release-radar/issues/new?assignees=MishManners&labels=&template=release-radar-request.yml&title=%5BRelease+Radar+Request%5D+%3Ctitle%3E diff --git a/karate-demo/pom.xml b/karate-demo/pom.xml index 7180c350f..56e6692b7 100644 --- a/karate-demo/pom.xml +++ b/karate-demo/pom.xml @@ -5,7 +5,7 @@ io.karatelabs karate-parent - 1.6.0-SNAPSHOT + 1.5.0 karate-demo diff --git a/karate-e2e-tests/pom.xml b/karate-e2e-tests/pom.xml index f0e0107c5..7e84bfac8 100755 --- a/karate-e2e-tests/pom.xml +++ b/karate-e2e-tests/pom.xml @@ -5,7 +5,7 @@ io.karatelabs karate-parent - 1.6.0-SNAPSHOT + 1.5.0 karate-e2e-tests jar diff --git a/karate-gatling/pom.xml b/karate-gatling/pom.xml index f77f9e3d4..6b4c02936 100644 --- a/karate-gatling/pom.xml +++ b/karate-gatling/pom.xml @@ -5,7 +5,7 @@ io.karatelabs karate-parent - 1.6.0-SNAPSHOT + 1.5.0 karate-gatling jar diff --git a/karate-junit5/pom.xml b/karate-junit5/pom.xml index 8cf85c85c..23d58cd17 100755 --- a/karate-junit5/pom.xml +++ b/karate-junit5/pom.xml @@ -5,7 +5,7 @@ io.karatelabs karate-parent - 1.6.0-SNAPSHOT + 1.5.0 karate-junit5 jar diff --git a/karate-playwright/pom.xml b/karate-playwright/pom.xml index 26e1bc027..758bd5ef4 100644 --- a/karate-playwright/pom.xml +++ b/karate-playwright/pom.xml @@ -4,7 +4,7 @@ io.karatelabs karate-parent - 1.6.0-SNAPSHOT + 1.5.0 karate-playwright diff --git a/karate-robot/pom.xml b/karate-robot/pom.xml index fc004c468..e386f58e1 100644 --- a/karate-robot/pom.xml +++ b/karate-robot/pom.xml @@ -5,7 +5,7 @@ io.karatelabs karate-parent - 1.6.0-SNAPSHOT + 1.5.0 karate-robot jar diff --git a/pom.xml b/pom.xml index 998a55be7..9a91fd924 100644 --- a/pom.xml +++ b/pom.xml @@ -4,7 +4,7 @@ io.karatelabs karate-parent - 1.6.0-SNAPSHOT + 1.5.0 pom ${project.artifactId}