custom-board-bundle-sample-.../unit_tests
Matthew Kennedy 0256b0358e Add timeout + raw value access for sensors (#1098)
* timeout

* inject stamp

* allow getting raw value

* plumb timeout

* fix tests
2020-01-12 03:25:23 -05:00
..
googletest@dea0216d0c
test_basic_math
tests Add timeout + raw value access for sensors (#1098) 2020-01-12 03:25:23 -05:00
.cproject
.gitignore
.project
Makefile
adc_inputs.h
afm2mapConverter.cpp
afm2mapConverter.h
boards.cpp
boards.h happy new year 2020-01-08 00:02:40 -05:00
compile.bat
efifeatures.h
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

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