-
Notifications
You must be signed in to change notification settings - Fork 836
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
Where's the test suite being assembled? #789
Comments
Please feel free to open issues over @ endpoints for this! |
There's tests here as well. |
@tkellen @0x8890 Will https://github.com/endpoints/endpoints be the canonical local for tests? That should be documented as part of |
We're currently developing the integration suite against endpoints using https://github.com/json-api/json-api/blob/gh-pages/normative-statements.json. Once this is complete, we'll move it out to json-api and figure out how we can generalize it far enough to be pointed at any API. One hitch is that implementors will need to use http://github.com/endpoints/fantasy-database for their API. We don't support hypermedia quite well enough for the integration suite to be entirely generic. |
@tkellen Great news. I don't mind having to run tests with nodejs against my own impl. |
@tkellen Could we make this bug – or another – a tracking issue for tests? Call it an "enhancement request". |
It would not be too difficult to generalize testing, the implementation would just need to be aware of what types will be used for testing. This is how I implemented tests:
Note: not all tests need to run/pass, depending on the implementation. |
...but a test suite is now being assembled to vet them.
- http://jsonapi.org/implementations/The text was updated successfully, but these errors were encountered: