<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<font size="-1"><font face="Verdana">Hi everyone and best wishes!<br>
<br>
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.<br>
<br>
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:</font></font><br>
<ul>
<li><font size="-1">Be a (localhost-runnable) server rather than a
mock library, so it can be used by code in any language</font><br>
</li>
<li><font size="-1"><font face="Verdana">Mock the responses from
api.gbif.org (starting with the most common stuff: read-only
queries on occurrences, registry, ...)</font></font></li>
<li><font size="-1"><font face="Verdana">Be super easy to install
and run locally</font></font></li>
</ul>
<font size="-1"><font face="Verdana">I'm thinking of implementing it
in Golang, since it seems to fit those requirements quite well
and </font></font><font size="-1"><font face="Verdana"><font
size="-1"><font face="Verdana">I'd like to build real-world
experience with this technology.<br>
<br>
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?<br>
<br>
Thanks for your feedback!<br>
<br>
Nicolas<br>
</font></font></font></font><br>
</body>
</html>