I am trying to test a code that I made and what I saw that is the best practice to move all the files from the src to the lib files to be tested separately. However, when I move them, I start getting a lot of errors like the following:
Same for the included libs: if they require Arduino framework, they will not work (unless you mock the framework and set up platformio’s LDF to include the libs*).