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

common: Fetch schemas from Iglu Central before running tests #712

Open
istreeter opened this issue Nov 1, 2022 · 0 comments
Open

common: Fetch schemas from Iglu Central before running tests #712

istreeter opened this issue Nov 1, 2022 · 0 comments

Comments

@istreeter
Copy link
Contributor

The idea comes from this discussion.

Currently we have a lot of Iglu Central schemas hard-coded into the Enrich repo, e.g. here. We even have duplicates where different tests depend on the same schema.

It's a good that schemas are available locally when the tests run, because we do not want unit tests to have a dependency on a remote repository. But, it would be neater to fetch the schemas dynamically before the tests run instead of hard-coding them into this repo.

I suggest make a sbt task that fetches the schemas we need, and then put them in a resources directory which is accessible to all 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

1 participant