Skip to content

Commit

Permalink
Merge pull request #4 from colevandersWands/master
Browse files Browse the repository at this point in the history
add documentation for testing utility script options
  • Loading branch information
djeada authored Nov 30, 2023
2 parents 62e8725 + 065c769 commit 00c1dac
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -80,13 +80,15 @@ python -m unittest discover -v

This command uses Python's built-in `unittest` module to discover and run the tests. The `-v` (verbose) flag is used to get more detailed output from the tests.

### Using the Utility Script
### Using the Testing Utility Script

For convenience, this repository includes a utility script named `run_tests.sh`. This script runs the unit tests for all subprojects. To use the script, execute the following command from the repository's root directory:
For convenience, this repository includes a utility script named `run_tests.sh`. Execute the following commands from the repository's root to run tests in all subprojects:

- **To run _all_ unit tests:** `./run_tests.sh`
- **To run all _Python_ tests:** `./run_tests.sh --python`
- **To run all _C++_ tests:** `./run_tests.sh --cpp`
- **To read all options from terminal:** `./run_tests.sh --help`

```
./run_tests.sh
```

## Code Formatting Conventions

Expand Down

0 comments on commit 00c1dac

Please sign in to comment.