| id | install | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| title | Keploy Installation | ||||||||||
| sidebar_label | Installation | ||||||||||
| tags |
|
||||||||||
| keywords |
|
Keploy uses eBPF to intercept API calls on network layer and generates test cases and mocks/stubs.
import InstallationGuide from '../concepts/installation.md'
To initiate the recording of API calls, execute this command in your terminal:
keploy record -c "CMD_TO_RUN_APP"For example, if you're using a simple Golang program, the CMD_TO_RUN_APP would resemble:
keploy record -c "go run main.go"To run the testcases and see if there are any regressions introduced, use this terminal command:
keploy test -c "CMD_TO_RUN_APP" --delay 10Explore the Test Coverage Generation Guide for seeing test-coverage with your unit testing library and Keploy Running Guide for additional options and tips on customizing your Keploy setup to perfection.