This library is a general purpose library that can be used by any Karate project.
The Karate Tools Open Source Repository is organized as follows:
-
code- Karate Tools Open Source codebase with the corresponding unit and integration tests-
๐ฉโ๐ป karatetools-oss-code
-
-
e2e/karate- Karate Tools Open Source karate tests -
docs- Karate Tools Open Source documentation based on asciidoc and antora-
๐ karatetools-oss-docs
-
โโโ code (1)
โ โโโ archetype (2)
โ โ โโโ src
โ โ โโโ test
โ โ โโโ java
โ โ โโโ resources
โ ...
โ โโโ starter (2)
โโโ docs (3)
โ โโโ build (4)
โ โโโ node_modules (4)
โ โโโ src
โ โ โโโ modules (5)
โ โ โโโ HOME
โ โ โ โโโ images
โ โ โ โโโ pages
โ โ ...
โ โ โโโ release
โ โโโ supplemental-ui (6)
โโโ e2e
โโโ karate (7)
โโโ src
โโโ test
โโโ java
โโโ resources
| 1 | codebase root directory |
| 2 | codebase maven modules |
| 3 | documentation root directory |
| 4 | documentation build and node directories |
| 5 | documentation antora asciidoc modules |
| 6 | documentation antora UI assets (page templates, CSS, JavaScript, images, etc.) |
| 7 | karate-test maven module root directory |
The main code modules are:
-
๐ฉโ๐ป
karatetools-oss-archetype: archetype to generate a karate project from scratch with the necessary configurations and utilities for the execution of tests. -
๐ฉโ๐ป
karatetools-oss-clients: clients to interact with relational databases via JDBC (MariaDB and PostgreSQL), MongoDB, Kafka and JMS (Active MQ and Rabbit MQ) -
๐ฉโ๐ป
karatetools-oss-generators: generators of tests from Open API -
๐ฉโ๐ป
karatetools-oss-runner: karate runner and all related utilities (authentication, JWT tokens, karate base configuration, karate utils, karate mocks, karate cache, karate results and reports, …) -
๐ฉโ๐ป
karatetools-oss-starter: starter module to include the generators, clients and runner in a Karate project.
It includes test open api modules:
-
๐ฉโ๐ป
karatetools-oss-openapi-test: Open API test specifications for the karate tools tests with two sub-modules:-
๐ฉโ๐ป
karatetools-oss-xxx-api-rest-stable: api to test the test generation tools -
๐ฉโ๐ป
karatetools-oss-xxx-external-api-rest-stable: api to test the mock generation tools
-
It includes a spring boot module:
-
๐ฉโ๐ป
karatetools-oss-boot: spring boot application with a simple rest api implementing the Open API test specification and docker containers to be used as target for the karate tools tests (runner, rest, auth, jdbc, mongodb, kafka, jms, …)
The karate test module is defined in the e2e/karate folder:
-
๐งช
karatetools-oss-karate-test: karate module to test the karate tools.-
This module has been generated using the โ๏ธ Karate Tools - Archetype
-
Includes auto-generated tests and mocks for sample api (
karatetools-oss-openapi-test) -
uses the
karatetools-oss-starterto test the karate clients and the sample application (karatetools-oss-boot) and containers.
-
The documentation is defined in the docs folder:
-
๐
karatetools-oss-docs: documentation of the karate tools based on asciidoc and antora.