Register / Login | Desktop view |
#include <IoAbstraction.h>
to test_desktop/test_calculator.cpp and attempt to run the test which fails to compile with the following result/error message:
Processing test_desktop in native environment
--------------------------------------------------------------------------------------------------------------------------------------------------------Building...
test\test_desktop\test_calculator.cpp:19:10: fatal error: MockIoAbstraction.h: No such file or directory
***************************************************************************
* Looking for MockIoAbstraction.h dependency? Check our library registry!
*
* CLI > platformio lib search "header:MockIoAbstraction.h"
* Web > https://platformio.org/lib/search?query=header:MockIoAbstraction.h
*
***************************************************************************
#include <MockIoAbstraction.h>
^~~~~~~~~~~~~~~~~~~~~
compilation terminated.
*** [.pio\build\native\test\test_desktop\test_calculator.o] Error 1
============================================================== [FAILED] Took 0.83 seconds ==============================================================
Test Environment Status Duration
------------ ------------- -------- ------------
test_common native PASSED 00:00:00.832
test_desktop native FAILED 00:00:00.830
======================================================== 1 failed, 1 succeeded in 00:00:01.663 ========================================================
[env:native]
platform = native
test_ignore = test_embedded
lib_deps = davetcc/IoAbstraction@^1.6.7