-
-
Notifications
You must be signed in to change notification settings - Fork 54
CI testing the source code
Continuous integration testing also helps finding errors that you may generate when creating new features. However even if it's all green before merging it's recommended to do a full test flashing the feature/branch in the device, and to test the new feature but also navigating all other parts of the application, to make sure that the new feature does not break any existing functionality. In order to run the CI tests open a Terminal window in Platformio and run:
pio test -e native
There is also a GitHub action that tests will run whenever we push to the repository so in each merge request there's a section "All checks have passed" if you expand that out you can see the workflow that was run:
.github/workflows/build-test-on-push.yml
The tests are in the tests folder of the repository.
More information about PlatformIO Unit Testing:
diy-esp32-epub-reader wiki v. 1.1 Hackaday EPub reader page | Project Chat-room