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
> **Note for GRPC Tests:** When running GRPC test cases, it's recommended to provide proto information using either `--proto-file` or `--proto-dir` flags. If proto information is not provided, Keploy will use basic canonical matching of the protoscopic textual format of GRPC response body, which may be less accurate than proto-based comparison.
259
258
260
-
## [gen](#gen)
261
-
262
-
The `gen` cmd in Keploy allows user to generate unit tests using LLM Models.
263
-
264
-
<b> Usage: </b>
265
-
266
-
```bash
267
-
keploy gen [flags]
268
-
```
269
-
270
-
<b> Available flags: </b>
271
-
272
-
-`sourceFilePath` - Path to the source file for which tests are to be generated.
273
-
274
-
-`testFilePath` - Path where the generated tests will be saved.
275
-
276
-
-`coverageReportPath` - Path to generate the coverage report.
277
-
278
-
-`testCommand` - Command to execute tests and generate the coverage report.
279
-
280
-
-`coverageFormat` - Type of the coverage report by default report is in "cobertura" format.
281
-
282
-
-`expectedCoverage` - Desired coverage percentage by default it is set to be at 100%.
283
-
284
-
-`maxIterations` - Maximum number of iterations for refining tests (default 5).
285
-
286
-
-`testDir` - Directory where tests will be written.
287
-
288
-
-`llmBaseUrl` - Base url of the llm.
289
-
290
-
-`model` - Specifies the AI model to use by default it uses "gpt-4o" model.
291
-
292
-
-`llmApiVersion` - API version of the llm if any.
293
-
294
259
## [normalize](#normalize)
295
260
296
261
The `normalize` cmd in Keploy allows user to change the response of the testcases according to the latest test run response that is executed by the user, this is useful when the API response of the testcases are changed due to code change or any other intentional change in the application.
0 commit comments