Dominic-DallOsto / zotero-api-endpoint

Provides an HTTP server endpoint for interacting with Zotero
22 stars 4 forks source link

Make unit tests for functions #3

Closed Dominic-DallOsto closed 2 years ago

Dominic-DallOsto commented 2 years ago

As I was investigating in https://github.com/diegodlh/zotero-cita/issues/30, it would be good to add unit test for our functions.

We might need to spoof the Zotero functions somehow for this to work. Setting up a fully integrated testing stack with Zotero might be a bit much...

github-actions[bot] commented 2 years ago

:robot: this is your friendly neighborhood build bot announcing test build 0.0.1.22 ("Added unit tests with Postman (#7)\n\nFixes #3 #5\r\n initial dockerfile\r\n Initially working dockerfile setup\r\n run test on all branches\r\n Tests run now")

Install in Zotero by downloading test build 0.0.1.22, opening the Zotero "Tools" menu, selecting "Add-ons", open the gear menu in the top right, and select "Install Add-on From File...".