Skip to content

Commit 2c05cff

Browse files
Achanandhi-MDhruvGoyal404
authored andcommitted
feat: remove utg commands (#748)
Signed-off-by: Achanandhi-M <[email protected]> Signed-off-by: Dhruv Goyal <[email protected]>
1 parent 815a313 commit 2c05cff

File tree

2 files changed

+3
-38
lines changed

2 files changed

+3
-38
lines changed

docusaurus.config.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
//@ts-check
22

3-
import { themes as prismThemes } from "prism-react-renderer";
3+
import {themes as prismThemes} from "prism-react-renderer";
44
const path = require("path");
5-
import { visit } from "unist-util-visit";
5+
import {visit} from "unist-util-visit";
66
const FontPreloadPlugin = require("webpack-font-preload-plugin");
77

88
/** @type {import('@docusaurus/types').DocusaurusConfig} */
@@ -51,7 +51,7 @@ module.exports = {
5151
content:
5252
"API testing, Keploy docs, incident replay, network calls, code paths, test scenarios, code coverage, stubs, junit, go-test, live environment, production incidents, open source, regression tests, ai tests",
5353
},
54-
{ name: "twitter:card", content: "summary_large_image" },
54+
{name: "twitter:card", content: "summary_large_image"},
5555
],
5656
headTags: [
5757
// Preconnect tag

versioned_docs/version-3.0.0/running-keploy/cli-commands.md

Lines changed: 0 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,6 @@ Here are some examples of how to use some common flags:
3131
| ----------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
3232
| `record` | `-c, --command`, `--config-path`, `--containerName`, `-d, --delay`, `--metadata`, `-n, --networkName`, `--passThroughPorts`, `-p, --path`, `--proxyport`, `--debug` |
3333
| `test` | `--apiTimeout`, `-c, --command`, `--config-path`, `--containerName`, `-d, --delay`, `--mongoPassword`, `-n, --net, --networkName`, `--passThroughPorts`, `-p, --path`, `--proxyport`, `-t, --testsets`, `--debug`, `-g, --generateTestReport`, `--removeUnusedMocks`, `--coverage`, `--goCoverage`, `--ignoreOrdering`, `--skip-preview`, `--proto-dir`, `--proto-file`, `--proto-include` |
34-
| `gen` | `--sourceFilePath`, `--testFilePath`,`--coverageReportPath`,`--testCommand`,`--coverageFormat`,`--expectedCoverage`,`--maxIterations`,`--testDir`,`--llmBaseUrl`,`--model`,`--llmApiVersion` |
3534
| `normalize` | `-p, --path`, `--test-run`, `--tests` |
3635
| `rerecord` | `--test-sets`, `-t` |
3736
| `report` | `--test-sets, -t`, `-p, --path`, `--report-path, -r`, `--body` |
@@ -257,40 +256,6 @@ keploy test [flags]
257256

258257
> **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.
259258
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-
294259
## [normalize](#normalize)
295260

296261
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

Comments
 (0)