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

Test export of datajson from the inventory-app instead of ckanext-datajson #3320

Closed
1 task done
nickumia-reisys opened this issue Jul 3, 2021 · 0 comments
Closed
1 task done
Assignees
Labels
bug Software defect or bug CKAN Testing

Comments

@nickumia-reisys
Copy link
Contributor

nickumia-reisys commented Jul 3, 2021

User Story

In order to work around difficulty with mocking non-string responses in the datajson extension, the data.gov team wants to implement a integration test for datajson export from the inventory app.

Acceptance Criteria

[ACs should be clearly demoable/verifiable whenever possible. Try specifying them using BDD.]

  • GIVEN datasets are created within an organization on inventory app
    WHEN the organization data.json file is exported
    THEN a zip file is downloaded
    AND the parsed file contains the expected data.json file and metadata

Background

[Any helpful contextual notes or links to artifacts/evidence, if needed]

Due to the change in ckan tests, the TestExport class in ckanext-datajson will be re-implemented in inventory-app to validate this key use case

Original code is here.

Security Considerations (required)

None

Sketch

Implement with bats testing framework.

@nickumia-reisys nickumia-reisys added the bug Software defect or bug label Jul 3, 2021
@mogul mogul changed the title Test Export in Inventory-app instead of ckanext-datajson Test export of datajson from the inventory-app instead of ckanext-datajson Jul 8, 2021
@mogul mogul added this to the Sprint 20210805 milestone Aug 5, 2021
@mogul mogul closed this as completed Aug 5, 2021
@nickumia-reisys nickumia-reisys moved this to 🗄 Closed in data.gov team board Oct 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Software defect or bug CKAN Testing
Projects
Archived in project
Development

No branches or pull requests

2 participants