Skip to content

Latest commit

 

History

History
62 lines (46 loc) · 2.49 KB

File metadata and controls

62 lines (46 loc) · 2.49 KB
id what-is-keploy
title What is Keploy?
sidebar_label Introduction to Keploy
description Keploy is open source backend testing toolkit that creates tests and mocks faster than unit tests, from user-traffic.
tags
explanation
introduction
features
what is keploy
keywords
Junit
PyTest
GoTest
Jest
Backend Testing
Open Source
API Tests
AI Generated Tests

Keploy creates backend API tests with built-in-mocks or stubs by recording your application network calls making your testing process not only faster than unit tests but also incredibly efficient.

Test Case Generator

Keploy acts a proxy in your application that captures and replays all network interaction served to application from any source.

Step 1 : Record Unique Network Interactions as Test Case

Once you start the application in record mode to capture API calls as test cases.

Now, when the application serves an API, all the unique network interactions are stored within Keploy server as a test-case.

Test Case Generator

Step 2 : Replay Test-Cases

Let's say you developed new application version(v2). To test locally, start the Keploy in test mode to replay all recorded API calls/test-cases previously captured in record-mode.

Now, when the application starts:

  • Keploy will download all the previously recorded test-cases/API calls with a 5 sec delay(configurable application build time).
  • When the application will try to talk to any dependencies like DBs, Routers, vendor services, Keploy will intercept and provide the previously recorded dependency response.

Note: You didn't need to setup test-environment here. 🙅🏻‍♀️

  • Keploy will compare the API response to the previously captured response and a report will be generated on the Keploy console.

You can test with Keploy locally or can integrate Keploy with popular testing-frameworks and existing CI pipelines.

Note: You can generate test cases from any environment which has all the infrastructure dependencies setup. Please consider using this to generate tests from low-traffic environments first. The deduplication feature necessary for high-traffic environments is currently experimental.

Hope this helps you out, if you still have any questions, reach out to us.