rusefi/unit_tests
rusefi 3ffc51f495 Clean-up analog channels in "unit" tests #1456 2020-05-20 03:54:40 -04:00
..
googletest@dcc92d0ab6
test_basic_math docs & clean-up 2020-05-10 00:59:32 -04:00
tests Clean-up analog channels in "unit" tests #1456 2020-05-20 03:49:56 -04:00
.cproject
.gitignore
.project
Makefile binary logging (#1443) 2020-05-17 15:56:37 -04:00
adc_inputs.h
afm2mapConverter.cpp
afm2mapConverter.h
boards.cpp Clean-up analog channels in "unit" tests #1456 2020-05-20 03:54:40 -04:00
boards.h
compile.bat
efifeatures.h
engine_test_helper.cpp Clean-up analog channels in "unit" tests #1456 2020-05-20 03:54:40 -04:00
engine_test_helper.h
global.h
global_execution_queue.cpp Fix 100% duty injection (#1431) 2020-05-14 07:44:32 -04:00
global_execution_queue.h Fix 100% duty injection (#1431) 2020-05-14 07:44:32 -04:00
globalaccess.h
gmock-all.cpp
gtest-all.cpp
jenkins.sh
main.cpp docs & clean-up 2020-05-10 00:59:32 -04:00
map_resize.cpp
map_resize.h
mocks.h Fix 100% duty injection (#1431) 2020-05-14 07:44:32 -04:00
os_access.h
readme.md
rules.mk
run_clean_gcov.sh
run_gcov.bat
run_gcov.sh
test.mk
unit_test_framework.cpp
unit_test_framework.h

readme.md

In this folder we have rusEfi unit tests using https://github.com/google/googletest

Unit tests are not aware of ChibiOS or ARM or else, they are just plain C/C++ which you build for your desktop, not your MCU.

  1. Run 'make' to build desktop binary.
  2. Execute rusefi_test binary on your PC/Mac, it's expected to say SUCCESS and not fail :) Googletest will also print results summary.

Code Coverage Report