-
Notifications
You must be signed in to change notification settings - Fork 376
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Update README and gitignore tool installation instructions and enhance command examples * Fix comment about the poetry command
- Loading branch information
1 parent
6778dd5
commit 71cf0df
Showing
2 changed files
with
15 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -91,7 +91,7 @@ cover-agent \ | |
|
||
You can use the example projects within this repository to run this code as a test. | ||
|
||
Follow the steps in the README.md file located in the `templated_tests/python_fastapi/` directory, then return to the root of the repository and run the following command to add tests to the python fastapi example: | ||
Follow the steps in the README.md file located in the `templated_tests/python_fastapi/` directory, then return to the root of the repository and run the following command to add tests to the **python fastapi** example: | ||
```shell | ||
cover-agent \ | ||
--source-file-path "templated_tests/python_fastapi/app.py" \ | ||
|
@@ -104,7 +104,13 @@ cover-agent \ | |
--max-iterations 10 | ||
``` | ||
|
||
For an example using Go `cd` into `templated_tests/go_webservice`, set up the project following the `README.md` and then run the following command: | ||
For an example using **go** `cd` into `templated_tests/go_webservice`, set up the project following the `README.md`. | ||
To work with coverage reporting, you need to install `gocov` and `gocov-xml`. Run the following commands to install these tools: | ||
```shell | ||
go install github.com/axw/gocov/[email protected] | ||
go install github.com/AlekSi/[email protected] | ||
``` | ||
and then run the following command: | ||
```shell | ||
cover-agent \ | ||
--source-file-path "app.go" \ | ||
|