Hi everyone and best wishes!

Over the years, I have several times written code that consumes the GBIF API. So far, proper unit testing of this code has been problematic, because I had to test it against the "real" GBIF API, with several drawbacks (fragility, test needs network connectivity, speed issues, ...). I think other libraries (pygbif for example) probably face the same problems.

I am therefore thinking about creating a GBIF API mock server, that could be run locally and mimicks requests/responses cycles of api.gbif.org, to make testing our tools in isolation easier. It would have the following characteristics:

I'm thinking of implementing it in Golang, since it seems to fit those requirements quite well and I'd like to build real-world experience with this technology.

Ideally, I'd like to write that is not only useful for myself, so here is my question: would you be interested in using such a mock server for your developments? Or isn't that so usefull? Maybe you know existing tools that can already be used to solve this problem?

Thanks for your feedback!

Nicolas