Skip to content
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

Integration tests? #7

Open
15 tasks
thekaveman opened this issue Sep 22, 2014 · 5 comments
Open
15 tasks

Integration tests? #7

thekaveman opened this issue Sep 22, 2014 · 5 comments
Labels
tests Related to testing for this library.

Comments

@thekaveman
Copy link
Contributor

We definitely need tests for things like querying and upserting. But what is the best way to go about this?

soda-java uses a live sandbox site with a test account that appears to have both read and write permissions.

RSocrata uses a different demo site but only does consumer tests.

Are we allowed to use one or both of these demo sites? What about the test account for publishing?

Tests should cover real world usage of the following:

SodaClient

  • GetMetadata
  • GetMetadataPage
  • GetResource
  • Upsert *
  • BatchUpsert *
  • Replace *
  • DeleteRow *

ResourceMetadata

  • Update *

Resource

  • Query
  • GetRows
  • GetRow
  • Upsert *
  • BatchUpsert *
  • Replace *
  • DeleteRow *

***** will require authentication with publisher (write) permissions

@thekaveman thekaveman added the tests Related to testing for this library. label Sep 22, 2014
@thekaveman
Copy link
Contributor Author

@chrismetcalf can you or someone from Socrata comment on the demo sites I linked above? Are these open to the community, for e.g. writing tests against?

@thekaveman thekaveman added this to the v1.0 release milestone Sep 24, 2014
@thekaveman
Copy link
Contributor Author

@chrismetcalf any word on the demo Socrata sites, and using them for integration testing endpoints?

@chrismetcalf
Copy link
Contributor

@thekaveman To test out writes, the best option is to use opendata.socrata.com, where your account will have both read and write access.

@thekaveman
Copy link
Contributor Author

@chrismetcalf Thanks!

@chrismetcalf
Copy link
Contributor

No problem! Sorry for the delay!

@thekaveman thekaveman modified the milestones: vNext, v1.0 release Jun 2, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
tests Related to testing for this library.
Projects
None yet
Development

No branches or pull requests

2 participants