File tree Expand file tree Collapse file tree 1 file changed +3
-7
lines changed
versioned_docs/version-3.0.0/keploy-cloud Expand file tree Collapse file tree 1 file changed +3
-7
lines changed Original file line number Diff line number Diff line change @@ -45,31 +45,27 @@ Add the following on top of your main application file : -
4545import _ " github.com/keploy/go-sdk/v3/keploy"
4646```
4747
48- Update the go build command in Dockerfile to add new flags which is required for deduplication (this is not required for native)
48+ Update the go build command in Dockerfile to add new flags which is required for deduplication (use same flags for native builds )
4949
5050``` bash
5151RUN go build -cover -covermode=atomic -coverpkg=./... -o /app/main .
5252```
5353
5454** 2. Run Deduplication**
5555
56-
5756For Docker, run:
5857
59-
6058``` bash
6159keploy test -c " docker compose up" --containerName containerName --dedup
6260```
6361
64- For Native, run:
62+ For Native, run:
6563
6664``` bash
6765keploy test -c ./main --dedup
6866```
6967
70- where ` ./main ` is the binary produced by doing ` go build -cover -covermode=atomic -coverpkg=./... -o ./main . `
71-
72- This will generate a dedupData.yaml file
68+ This will generate a dedupData.yaml file
7369
7470After this Run
7571
You can’t perform that action at this time.
0 commit comments