Skip to content

Commit 8581ac6

Browse files
authored
Merge branch 'main' into microservice-error-guessing-glossary-terms
2 parents 56bf548 + fcbecd8 commit 8581ac6

File tree

1 file changed

+14
-8
lines changed

1 file changed

+14
-8
lines changed

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

Lines changed: 14 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -23,14 +23,14 @@ You can use `--help, -h` flag for all the commands to see available flag options
2323

2424
Here are some examples of how to use some common flags:
2525

26-
| Mode | Flags Available |
27-
| ----------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
28-
| `record` | `-c, --command`, `--config-path`, `--containerName`, `-d, --delay`, `-n, --networkName`, `--passThroughPorts`, `-p, --path`, `--proxyport`, `--debug` |
29-
| `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` |
30-
| `gen` | `--sourceFilePath`, `--testFilePath`,`--coverageReportPath`,`--testCommand`,`--coverageFormat`,`--expectedCoverage`,`--maxIterations`,`--testDir`,`--llmBaseUrl`,`--model`,`--llmApiVersion` |
31-
| `normailze` | `-p, --path`, `--test-run`, `--tests` |
32-
| `rerecord` | `--test-sets`, `-t` |
33-
| `config` | `--generate`,`-p, --path` |
26+
| Mode | Flags Available |
27+
| ----------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
28+
| `record` | `-c, --command`, `--config-path`, `--containerName`, `-d, --delay`, `-n, --networkName`, `--passThroughPorts`, `-p, --path`, `--proxyport`, `--debug` |
29+
| `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` |
30+
| `gen` | `--sourceFilePath`, `--testFilePath`,`--coverageReportPath`,`--testCommand`,`--coverageFormat`,`--expectedCoverage`,`--maxIterations`,`--testDir`,`--llmBaseUrl`,`--model`,`--llmApiVersion` |
31+
| `normailze` | `-p, --path`, `--test-run`, `--tests` |
32+
| `rerecord` | `--test-sets`, `-t` |
33+
| `config` | `--generate`,`-p, --path` |
3434

3535
## [record](#record)
3636

@@ -211,6 +211,12 @@ keploy test [flags]
211211

212212
- `--skip-coverage` - skip code coverage computation while running the test cases
213213

214+
- `--skip-preview` - skip line by line code coverage preview but display the total coverage.
215+
216+
```bash
217+
keploy test -c "node src/app.js" --delay 10 --skip-preview
218+
```
219+
214220
- `--jacoco-agent-path` - Only applicable for test coverage for Java projects. You can override the jacoco agent jar by providing its path
215221

216222
## [gen](#gen)

0 commit comments

Comments
 (0)