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