fome-fw/unit_tests
rusefi abe1b8c1f3 refactoring: no need to specify parameter manually 2020-01-12 10:43:02 -05:00
..
googletest@dea0216d0c
test_basic_math
tests refactoring: no need to specify parameter manually 2020-01-12 10:43:02 -05:00
.cproject
.gitignore
.project
Makefile The Big Refactoring of 2019: folder structure #723 2019-12-03 23:52:44 -05:00
adc_inputs.h
afm2mapConverter.cpp Use templated array references (#1027) 2019-11-22 23:27:24 -05:00
afm2mapConverter.h
boards.cpp misc clean-up 2019-12-02 10:18:13 -05:00
boards.h happy new year 2020-01-08 00:02:40 -05:00
compile.bat
efifeatures.h making F4 and else happier with perf_trace, also maybe missing 'break'? 2019-11-19 20:36:47 -05:00
engine_test_helper.cpp better method names 2020-01-10 23:17:58 -05:00
engine_test_helper.h happy new year 2020-01-08 00:02:40 -05:00
global.h fixing build is my most favourite time! 2019-12-13 18:37:11 -05:00
global_execution_queue.cpp Require tooth reference time for scheduleByAngle (#1091) 2020-01-09 23:45:13 +03:00
global_execution_queue.h Require tooth reference time for scheduleByAngle (#1091) 2020-01-09 23:45:13 +03:00
globalaccess.h happy new year 2020-01-08 00:02:40 -05:00
gmock-all.cpp
gtest-all.cpp
jenkins.sh
main.cpp
map_resize.cpp
map_resize.h
os_access.h happy new year 2020-01-08 00:02:40 -05:00
readme.md
rules.mk
run_clean_gcov.sh
run_gcov.bat
run_gcov.sh
settings.h
test.mk
triggers.txt
unit_test_framework.cpp
unit_test_framework.h cj125 unit test progress! 2019-12-02 01:52:54 -05:00

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