mirror of
https://github.com/dalathegreat/Battery-Emulator.git
synced 2025-10-03 01:39:30 +02:00
Update CONTRIBUTING.md with Unit tests
This commit is contained in:
parent
c252bf32cc
commit
d0f74934af
1 changed files with 12 additions and 0 deletions
|
@ -38,3 +38,15 @@ Or force it to check all files with
|
|||
```
|
||||
pre-commit run --all-files
|
||||
```
|
||||
|
||||
## Local Unit test run
|
||||
The Unit tests run gtest. Here is how to install this on Debian/Ubuntu and run it locally
|
||||
```
|
||||
sudo apt-get install libgtest-dev
|
||||
sudo apt-get install cmake
|
||||
```
|
||||
Navigate to Battery-Emulator/test folder
|
||||
```
|
||||
sudo cmake CMakeLists.txt
|
||||
sudo make
|
||||
```
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue