Karate

测试自动化变得简单。(Test Automation Made Simple)

Github星跟蹤圖

Karate

Test Automation Made Simple.

Maven Central Build Status GitHub release Support Slack Twitter Follow

Karate is the only open-source tool to combine API test-automation, mocks, performance-testing and even UI automation into a single, unified framework. The BDD syntax popularized by Cucumber is language-neutral, and easy for even non-programmers. Powerful JSON & XML assertions are built-in, and you can run tests in parallel for speed.

Test execution and report generation feels like any standard Java project. But there's also a stand-alone executable for teams not comfortable with Java. You don't have to compile code. Just write tests in a simple, readable syntax - carefully designed for HTTP, JSON, GraphQL and XML. And you can mix API and UI test-automation within the same test script.

Hello World

If you are familiar with Cucumber / Gherkin, the big difference here is that you don't need to write extra "glue" code or Java "step definitions" !

It is worth pointing out that JSON is a 'first class citizen' of the syntax such that you can express payload and expected data without having to use double-quotes and without having to enclose JSON field names in quotes. There is no need to 'escape' characters like you would have had to in Java or other programming languages.

And you don't need to create additional Java classes for any of the payloads that you need to work with.

Index

主要指標

概覽
名稱與所有者karatelabs/karate
主編程語言Java
編程語言Java (語言數: 9)
平台BSD, Cross-platform, Linux, Mac, Solaris, Windows
許可證MIT License
所有者活动
創建於2017-02-07 15:59:17
推送於2025-04-19 08:59:58
最后一次提交2025-01-07 11:07:54
發布數56
最新版本名稱v1.5.2.RC2 (發布於 )
第一版名稱v0.1.2 (發布於 )
用户参与
星數8.5k
關注者數225
派生數2k
提交數4.6k
已啟用問題?
問題數2124
打開的問題數67
拉請求數394
打開的拉請求數3
關閉的拉請求數148
项目设置
已啟用Wiki?
已存檔?
是復刻?
已鎖定?
是鏡像?
是私有?