-
Notifications
You must be signed in to change notification settings - Fork 25
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Portability of test suite to clients in other languages #44
Comments
This email I just sent about the "sample data" repo feels related. Replies there or here are welcome! https://groups.google.com/d/msg/dataverse-community/_2Tm2B2sQhc/3qSuxnhyBwAJ |
Hi, sounds interesting. I don't know, if I totally understand the approach. You want to create a central repository with test-methods and test-data, which then should be used by the different dataverse clients? so that the results are everywhere the same, and the knowledge is shared? In general: I think to work together on API client testing and documentation makes a lot of sense for me. In which way, I don't have a concrete idea, but let's see, what we can work out. Here my approach so far: I wrote some tests for the API calls, and will hopefully complete the tests for all the other features (data models, utils, OAISTree) in Q2. The collected knowledge is so far documented in the function doc-strings, in the code itself or in my local documentation files. What I would find great, is to know the http status you can expect, depending on what you do on which endpoint. Another difficulty is, to document this version related (endpoints and functionality change from release to release). And to have a proper test-dataset, which works for all of us (Dataverse devs as client devs) whould also be nice. I will anyway have a look into this, cause I have setup jenkins locally this week and will work out some test-data and basic tests for the upcoming Dataverse upgrade. |
so the testing code is more generic ref #44
@pdurbin and I discussed possible ways to reduce the effort each of the Dataverse client developer to create and maintain tests. It might be nice if
@skasberger, @rliebz, @tainguyenbui, and any others, please tell me if this isn't worth it, or there's a better approach, etc.
(This is different from #4 & #29, which involve the battery of tests/comparisons. #40 deals with the deployment of API keys used in testing.)
The text was updated successfully, but these errors were encountered: