We use pytest to run our tests. Our tests are all located in the tests directory in the repo, and are meant to be run after installing Fonduer locally.

You need PostgreSQL running locally with trust authentication enabled. You’ll also need to download the external test data:

$ cd tests/
$ ./download_data.sh
$ cd ..

Then, you’ll be able to run our tests:

$ make test