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

Scripted test to upload a file and check it is imported #26

Open
2 of 18 tasks
rufuspollock opened this issue Nov 4, 2020 · 1 comment
Open
2 of 18 tasks

Scripted test to upload a file and check it is imported #26

rufuspollock opened this issue Nov 4, 2020 · 1 comment
Assignees

Comments

@rufuspollock
Copy link
Member

rufuspollock commented Nov 4, 2020

When developing AirCan i want a scripted test I can run to test the end to end functioning of a load of data into DataStore

Acceptance

  • Create a dataset in CKAN test instance
  • Create resource with a file
  • Check on status of run using {ckan instance}/api/3/aircan_status
  • Check datastore is updated (called data API): ... /api/3/datastore_search ...

Tasks

@rufuspollock rufuspollock changed the title Scripted test to upload a file and check th Scripted test to upload a file and check it is imported Nov 4, 2020
@leomrocha leomrocha transferred this issue from datopian/aircan Nov 5, 2020
@leomrocha
Copy link
Contributor

Latest discussion Q&A:

  • Where do we put the “test” scripts: ckanext-aircan
  • Does it get run automatically? Manually run for now
  • Can you configure the ckan instance to run against? Yes! Default prob local ckan instance (e.g. localhost:5000) and put in README about the standard test ckan instance we have …
  • How do I do local development/testing?
    • Just test the microservices
    • Test for integration by deploying into the cloud quickly and with automated integration tests

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants