From d0f74934af29aeb5e0c41a338665a202e197ac72 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20=C3=96ster?= Date: Sun, 31 Aug 2025 11:44:37 +0300 Subject: [PATCH] Update CONTRIBUTING.md with Unit tests --- CONTRIBUTING.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index c87fe6ed..8136fb2e 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -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 +```