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
Final thoughts? Dive deeper! Try different API calls, tweak the DB response in the `mocks.yml`, or fiddle with the request or response in `test-x.yml`. Run the tests again and see the magic unfold!
104
104
105
105
### Wrapping it up π
@@ -127,9 +127,9 @@ git clone https://github.com/keploy/samples-go.git && cd samples-go/fasthttp-pos
127
127
go mod download
128
128
```
129
129
130
-
We'll be running our sample application right on Linux, but just to make things a bit more thrilling, We'll have our database (Postgres) running on Docker.
130
+
We'll be running our sample application right on Linux, but just to make things a bit more thrilling, We'll have our database (Postgres) running on Docker.
131
131
132
-
> Note: This application requires the following database environment variables
132
+
> Note: This application requires the following database environment variables
133
133
> to be set in order to run correctly.
134
134
>
135
135
> Create a .env file in this directory with the following values:
@@ -150,6 +150,7 @@ Let's start your Postgres container:
150
150
docker compose up -d postgres
151
151
152
152
```
153
+
153
154
> The `-d` flag runs the PostgreSQL container in detached mode (in the background).
154
155
155
156
This would start your postgres container which will be running on docker.
@@ -197,8 +198,7 @@ You can continue by making additional API calls to generate more test cases.
197
198
curl --request GET --url http://localhost:8080/books
198
199
```
199
200
200
-
201
-
### πββοΈ Run the Tests
201
+
### πββοΈ Run the Tests
202
202
203
203
You are now ready to run the generated test cases.
204
204
@@ -210,11 +210,13 @@ When all is said and done, your test results should look a little something like
Final thoughts? Dive deeper! Try different API calls, tweak the DB response in the `mocks.yml`, or fiddle with the request or response in `test-x.yml`. Run the tests again and see the magic unfold!
214
216
215
217
### Wrapping it up π
216
218
217
-
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.
219
+
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