fome-fw/unit_tests
rusefi 4605c64a07 that's not a worth a file 2019-12-24 00:03:53 -05:00
..
googletest@dea0216d0c
test_basic_math
tests that's not a worth a file 2019-12-24 00:03:53 -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 ETB target is using integer values #945 2019-09-22 09:56:06 -04:00
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 #pragma once 2019-11-15 00:00:13 -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 that's not a worth a file 2019-12-24 00:03:53 -05:00
engine_test_helper.h just a trivial massive rename: TriggerState > TriggerWaveform 2019-12-08 01:09:39 -05:00
global.h fixing build is my most favourite time! 2019-12-13 18:37:11 -05:00
global_execution_queue.cpp EngineTestHelper progress 2019-12-03 00:20:47 -05:00
global_execution_queue.h missing override (#1039) 2019-12-02 23:52:35 -05:00
globalaccess.h getting rid of boardConfiguration / binary compatible change 2019-12-11 17:48:55 -05:00
gmock-all.cpp
gtest-all.cpp
jenkins.sh
main.cpp preparing for #973 2019-10-16 22:10:38 -04:00
map_resize.cpp
map_resize.h
os_access.h
readme.md
rules.mk
run_clean_gcov.sh
run_gcov.bat
run_gcov.sh
settings.h
test.mk
triggers.txt
unit_test_framework.cpp Coil duty cycle ignores dwell #977 2019-10-15 05:16:30 -04:00
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