You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: versioned_docs/version-2.0.0/concepts/installation.md
-32Lines changed: 0 additions & 32 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -141,35 +141,3 @@ By default, Docker Desktop may not be configured to work with all WSL 2 distros
141
141
> For detailed instructions on how to configure `Docker Desktop` for WSL 2, please refer to the [official Docker documentation](https://docs.docker.com/desktop/wsl/).
142
142
143
143
</details>
144
-
145
-
<details>
146
-
<summary>With Arkade</summary>
147
-
148
-
### With Arkade
149
-
150
-
1. Installing Arkade
151
-
152
-
```bash
153
-
# Note: you can also run without `sudo` and move the binary yourself
154
-
curl -sLS https://get.arkade.dev | sudo sh
155
-
156
-
arkade --help
157
-
ark --help # a handy alias
158
-
159
-
# Windows users with Git Bash
160
-
curl -sLS https://get.arkade.dev | sh
161
-
```
162
-
163
-
2. Install Keploy
164
-
165
-
```bash
166
-
arkade get keploy
167
-
```
168
-
169
-
Or you can also download specific version of Keploy using the following command:
π° Keploy: 2024-02-20T13:49:21Z INFO result {"testcase id": "test-2", "testset id": "test-set-1", "passed": "true"}
168
-
π° Keploy: 2024-02-20T13:49:21Z INFO test report for test-set-1: {"name: ": "report-2", "path: ": "/Users/neha/open-source/samples-java/employee-manager/keploy/report-2"}
191
+
π° Keploy: 2025-04-17T13:30:11+05:30 INFO result {"testcase id": "[test-2]", "testset id": "[test-set-0]", "passed": "[true]"}
169
192
170
-
<=========================================>
171
-
TESTRUN SUMMARY. For testrun with id: "test-set-1"
172
-
Total tests: 2
173
-
Total test passed: 1
174
-
Total test failed: 1
193
+
<=========================================>
194
+
TESTRUN SUMMARY. For test-set: "test-set-0"
195
+
Total tests: 2
196
+
Total test passed: 1
197
+
Total test failed: 1
198
+
Time Taken: "10.37 s"
199
+
<=========================================>
175
200
<=========================================>```
176
201
````
177
202
178
203
Did you spot that the `timestamp` is showing some differences? Yep, time has a way of doing that! π°οΈ
179
204
180
205
Worry not, just add the ever-changing fields (like our **ts** here) to the **noise parameter** to **dodge those assertions**.
181
206
182
-
> Pro tip: Add `body.timestamp` to noise in`test-1.yaml`.
207
+
> Pro tip: Add `body.timestamp` to noise in`keploy.yml`.
183
208
184
-
<img src="/docs/img/code-snippets/java-sample-employee-manager-noise.png" alt="Adding Noise to Test case Java Postgres Employee Manager App" width="70%" style={{ borderRadius: '5px' }}/>
209
+
<img src="https://github.com/keploy/samples-java/blob/main/employee-manager/img/test-noise.png" alt="Adding Noise to Test case Java Postgres Employee Manager App" width="70%" style={{ borderRadius: '5px' }}/>
185
210
186
211
Run that `keploy test`command once more and watch as everything falls into place with all tests passing! π
Here `delay` is the time it takes for your application to get started, after which Keploy will start running the testcases. If your application takes longer than 10s to get started, you can change the `delay` accordingly.
290
+
`buildDelay` is the time that it takes for the image to get built. This is useful when you are building the docker image from your docker compose file itself.
291
+
190
292
### π Wrapping it up
191
293
192
294
Congrats on the journey so far! You've seen Keploy's power, flexed your coding muscles, and had a bit of fun too! Now, go out there and keep exploring, innovating, and creating! Remember, with the right tools and a sprinkle of fun, anything's possible. ππ
0 commit comments