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 data sources on deployment #394

Open
7 tasks
stijn-uva opened this issue Oct 26, 2023 · 0 comments
Open
7 tasks

Test data sources on deployment #394

stijn-uva opened this issue Oct 26, 2023 · 0 comments
Labels
deployment Related to installation/deployment of 4CAT rather than 4CAT proper enhancement New feature or request

Comments

@stijn-uva
Copy link
Member

stijn-uva commented Oct 26, 2023

Our Github CI workflow now tests if 4CAT can be installed via Docker, but doesn't actually test any functionality. One way to make our deployments more robust is to have a 'test' dataset for some (or all) data sources and run a bunch of standard processors on them. This should be relatively straightforward and would test parts both the backend and frontend.

  • Provide sample data files for each data source
  • Add code to turn these into datasets (optimal way to do this will depend on the data source)
    • Zeeschuimer-powered datasets should be created in such a way that map_item() is called
    • CSV upload should be tested in such a way that the CSV is parsed (perhaps with separate files for all supported formats?)
    • Scraper-based datasets should be created in a way that bypasses the actual scraping, since we don't want to rely on the platform/site being online to test it
  • Select standard processors that can be run on all of those. Either have some that can run on any dataset, or define relevant processors per data source (or a mix of both)
  • Determine how to integrate this in the CI workflow...
@stijn-uva stijn-uva added enhancement New feature or request deployment Related to installation/deployment of 4CAT rather than 4CAT proper labels Oct 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
deployment Related to installation/deployment of 4CAT rather than 4CAT proper enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant