OpenTreeOfLife / taxomachine

taxonomy graphdb
Other
7 stars 4 forks source link

Tests for v3 API #126

Closed jar398 closed 8 years ago

jar398 commented 8 years ago

Timing uncertain, pre-Gainesville vs. post-Gainesville. See https://github.com/OpenTreeOfLife/germinator/issues/47

Mostly just name changes, see https://github.com/OpenTreeOfLife/germinator/wiki/Release-notes-for-web-API-v3. Draft v3 documentation (in progress) is here:

Apache config assumes new plugin classes will be called tnrs_v3 and taxonomy_v3.

jar398 commented 8 years ago

Everything mostly done, see v3 branch. Have to test on devapi next with full taxonomy.

jar398 commented 8 years ago

Issue for the API itself is #131, so I'm changing the issue description to cover only the tests.

I have basic syntactic tests in place for v3 API methods; see https://github.com/OpenTreeOfLife/taxomachine/commit/7b39f608f4c3645cde2f8ec6c0e72651a98b746c . These may require revision as they are double-checked against the developing implementation.

jar398 commented 8 years ago

Web service tests updated for newer v3 APIs spec. There is at least one test for each method, and all tests perform gross syntax checking on the result. All of the v2 tests have been converted for v3 (retaining the original v2 test for testing the v2 API, which we'll keep for a while). Since I may have a hard time motivating myself to write further tests, it may be time to close this issue.