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

A (set of) testing source(s)? #104

Open
jonkeane opened this issue Oct 7, 2022 · 0 comments
Open

A (set of) testing source(s)? #104

jonkeane opened this issue Oct 7, 2022 · 0 comments

Comments

@jonkeane
Copy link
Contributor

jonkeane commented Oct 7, 2022

When working on the {arrowbench} integration, I found myself wanting to use either a repo with (small) local files already pointed to in datalogistik, or to be able to provide a repo file + where those files are locally in {arrowbench}. Then use those for testing.

The way we did this in benchmarks and {arrowbench} before was basically that: having a set of testing files that came with the packages to use.

What I've done for {arrowbench} for now is to basically hand-craft the cache entires, and then copy that over to a temp cache for testing:

https://github.com/voltrondata-labs/arrowbench/blob/54ace647121349d489a50533580880849b351868/tests/testthat/setup.R#L5-L18

This isn't ideal (though not awful...). Should datalogistik come with that temp | testing cache? Or have a way to go from repo file + the small data files on disk to a cache?

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