Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,20 @@ In order to remove the duplicate tests, run the following command:
sudo -E keploy-enterprise dedup --rm
```

### Notes

- **No Go toolchain needed in the app image.** Keploy's agent places a
`keploy-covdata-<arch>` binary next to the sockets, and the SDK uses it to
read the coverage data. If it is not there or it cannot start,
`go tool covdata` is used when `go` is on `PATH`.
- **`KEPLOY_COVERAGE_DIR`** is the folder that holds the two sockets
(`coverage_control.sock`, `coverage_data.sock`) and the coverage temp files.
It defaults to `/tmp`. In Kubernetes, Keploy sets it for you (the app sees
the shared folder at `/keploy-sockets`); you don't need to set it yourself.
- **Not measured.** When a test's coverage can't be taken (for example, the app
was not built with `-covermode=atomic`), the SDK tells Keploy why instead
of sending nothing.

# keploytest: Go tests under keploy's Universal Mocker

Package `github.com/keploy/go-sdk/v3/keploytest` joins a `go test` suite to
Expand Down
Loading
Loading