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

Speed up tests: use smaller form for submission_export #23

Closed
florianm opened this issue Sep 10, 2019 · 0 comments
Closed

Speed up tests: use smaller form for submission_export #23

florianm opened this issue Sep 10, 2019 · 0 comments
Assignees

Comments

@florianm
Copy link
Collaborator

florianm commented Sep 10, 2019

Feature

Current tests download a 50MB zip file repeatedly. We should use a form with one (even in original file size very small) attachment and one submission for those tests.

Process:

  • Use newer example form (flora quadrat 0.4)
  • Set data collection device's ODK Collect to take smallest possible photos
  • Capture a few test records (30 min)
  • Update README, tests, vignettes to use new form
  • If the submissions ZIP export is then small enough (say <10MB), tests will run way faster. This will fix Use webmockr/vcr in tests #21 for now.
@florianm florianm added this to the rOpenSci milestone Sep 10, 2019
@florianm florianm self-assigned this Sep 10, 2019
@florianm florianm modified the milestones: rOpenSci, Release 1.0 Sep 10, 2019
florianm pushed a commit that referenced this issue Sep 20, 2019
Refactor ru_setup, update tests, vignette "setup", ctb guidelines.
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

1 participant