Updated readme for UnitTests

This commit is contained in:
Nils Hölscher 2022-05-16 13:44:23 +02:00
parent 8ea0c571e4
commit 3264029256
1 changed files with 7 additions and 0 deletions

View File

@ -88,6 +88,7 @@ This is my personally preferred IDE setup for C/C++ and by no means needed to ac
clangd,
Clang-Format,
CodeLLDB,
C++ TestMate,
Docker and
Remote Development
@ -151,6 +152,12 @@ You can also set the following variables in the CacheAnalysisPass/CacheAnalysisP
Helpful to understand what the program does but not very so much for the actual exercise.
## UnitTest
The best way to see what your function does is to use the UnitTest.cpp.
With "C++ TestMate" install you can simply run or debug the test from the side panel in VS Code (Flask Icon).
The "C++ TestMate" is not installed in the VM as I just added this feature now.
Please feel free to add more test cases to your liking in UnitTest.cpp.
## Use the Helper script
Again if you work on a Pool PC use poolhelper.sh insted of the helper.sh script.