-
-
Notifications
You must be signed in to change notification settings - Fork 48
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 then to test the new feature but also all other parts of the application, to ensure 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 makes a test run whenever we push to the repository. That way, 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