Testing is still a work-in-progress, but is integral to good software.
Simply run the nix development environment, as usual:
$ nix-shellRun tests with pytest. Tests are also automatically ran prior to committing.
$ pytest
# or run the tests in watch mode, during development
$ bash testloopWe have a "tests" directory where test data is stored. Each folder represents an exported ReMarkable notebook file.
tests/instores ReMarkable notebook files. Each directory represents one notebooktests/outis a directory which stores the PDF and markdown files generated by remarks. This directory can be cleared whenever you wish.