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

Regression tests for coders other than Haskell and Java #85

Open
joshsh opened this issue May 28, 2023 · 0 comments
Open

Regression tests for coders other than Haskell and Java #85

joshsh opened this issue May 28, 2023 · 0 comments

Comments

@joshsh
Copy link
Collaborator

joshsh commented May 28, 2023

While there are currently no automated regression tests for language coders, the generated Haskell and Java code serves as a good regression test because it is so comprehensive. When a change is made to any code which may affect Haskell and Java code generation, we only have to generate all of Hydra's sources again to verify that nothing has changed. Not so with the other coders (TinkerPop, Avro, PDL, GraphQL, SHACL, JSON, YAML). These coders can easily become corrupted by upstream changes without anyone immediately noticing.

Find a happy medium between no tests at all for these languages, and checking in a huge amount of generated code which bloats the repository and serves no purpose other than as a regression test.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant