Skip to content

Commit

Permalink
[Task ID: 2.14] Updating Readme
Browse files Browse the repository at this point in the history
  • Loading branch information
roboticistjoseph committed Dec 15, 2022
1 parent 41ace19 commit a168810
Showing 1 changed file with 13 additions and 13 deletions.
26 changes: 13 additions & 13 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -139,19 +139,6 @@ source install/local_setup.bash
ros2 run kamikaze swarm_controller
```

## How to build for Test Coverage
```
cd ~/Kamikaze-Robots/
# remove any existing build files
rm -rf build/kamikaze
# build with coverage
colcon build --cmake-args -DCOVERAGE=1 --packages-select kamikaze
# to check log (example)
cat log/latest_build/kamikaze/stdout_stderr.log
```

### How to run Unit Tests
- In a new terminal, run the follwoing commands to Test the functionality of the cloned software.
```
Expand Down Expand Up @@ -187,6 +174,19 @@ gtest = 0.10 sec*proc (1 test)
Total Test time (real) = 0.10 sec
</pre>

## How to build for Test Coverage
```
cd ~/Kamikaze-Robots/
# remove any existing build files
rm -rf build/kamikaze
# build with coverage
colcon build --cmake-args -DCOVERAGE=1 --packages-select kamikaze
# to check log (example)
cat log/latest_build/kamikaze/stdout_stderr.log
```

## Generate Coverage report
```
source install/setup.bash
Expand Down

0 comments on commit a168810

Please sign in to comment.