Announcement
Keploy - Automated API & Integration Test Generation with Mocks
Automatically generate unit, API, and integration tests for developers with mocks/stubs that actually work. Streamline your testing workflow.
Project Introduction
Summary
This project is a testing agent designed for developers to simplify and automate the creation of unit, API, and integration tests. By recording application interactions, it automatically generates tests and necessary mocks/stubs, significantly accelerating the testing process and ensuring test accuracy.
Problem Solved
Writing comprehensive unit, API, and integration tests, especially with complex external dependencies, is time-consuming and prone to errors. Maintaining accurate mocks and stubs is challenging, leading to flaky tests. This project automates these tasks, reducing manual effort and improving test reliability.
Core Features
Automated Test Generation
Automatically captures API calls and generates executable tests and mock/stub configurations from them.
Traffic Recording & Replay
Seamlessly records and replays application traffic to create realistic test scenarios and mocks.
Dependency Mocking
Provides realistic mocks and stubs for external service dependencies based on recorded traffic.
Tech Stack
使用场景
Keploy can be used in various scenarios to enhance the testing process for applications and APIs:
Local Development & Testing
Details
Developers can run their application locally with Keploy recording, interact with the application through its API, and Keploy will automatically generate tests and mocks based on the captured traffic.
User Value
Saves significant time on writing tests and setting up mock services during development.
CI/CD Automation
Details
Integrate Keploy into your CI pipeline. When new code is pushed, Keploy can automatically generate/update tests or replay existing tests using recorded mocks to catch regressions.
User Value
Increases test coverage and reliability in CI, enabling faster and safer deployments.
Adding Tests to Legacy Applications
Details
For existing applications with limited test coverage, Keploy can quickly generate a baseline of API tests and dependency mocks by recording traffic in staging or production environments (with caution).
User Value
Rapidly build a test suite for critical legacy services, reducing risk when making changes.
Recommended Projects
You might be interested in these projects
obsprojectobs-studio
Free and open source software for live streaming and screen recording
kubespherekubesphere
A comprehensive, open-source container platform built on Kubernetes, designed to simplify cluster management, application deployment, and operations across multi-cloud, datacenter, and edge environments.
apachedolphinscheduler
Apache DolphinScheduler is a modern, open-source distributed data orchestration platform designed for creating high-performance workflows with a low-code, visual approach. It solves complex task dependencies in the data pipeline.