Skip to content

karatelabs/karate-v2

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Karate v2

Karate v2 is a complete rewrite of Karate, the popular open-source test automation framework. It combines API testing, mocking, and performance testing into a single, unified tool.

Karate v1 supports web-browser automation, and this will be eventually added to v2 as well.

Modules

Module Description
karate-js Lightweight JavaScript engine for the JVM with thread-safe concurrent execution
karate-core Core testing framework with HTTP client/server, templating, and match assertions

Key Features

  • API Test Automation - Write expressive tests in Gherkin syntax with powerful JSON and XML assertions
  • Mock Servers - Built-in HTTP server for API mocking with dynamic responses
  • Performance Testing - Scale from functional tests to load tests seamlessly
  • HTML Templating - Thymeleaf-based templating with HTMX and AlpineJS support
  • Thread-Safe JavaScript - Custom JS engine designed for parallel test execution
  • Java 21+ - Built on modern Java with virtual threads and latest language features

Getting Started

Requirements

  • Java 21 or higher

Maven Dependency

Coming soon.

Documentation

For Karate 1.x Users

Karate v2 maintains backwards compatibility with 1.x features. If you're migrating from 1.x, most of your existing tests should work with minimal changes.

Migration guide coming soon. This repository will be folded into the primary github.com/karatelabs/karate location when Karate v2 is generally available.

Related Projects

License

MIT License

About

Karate v2 is developed by Karate Labs Inc. with contributions from the community.

We invite enterprise users of Karate to review, influence the direction, and contribute to this project.