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

Ensure (on the unit test level) that generated code always compiles #116

Open
mykulyak opened this issue Feb 24, 2023 · 0 comments
Open
Assignees
Labels
enhancement New feature or request

Comments

@mykulyak
Copy link
Contributor

mykulyak commented Feb 24, 2023

Currently, tests for codegens check only what code has been generated, but not the validity of the code. This leads to situations where the generated code does not compile.

To improve the situation, we need a simple way to compile the generated code in each test. This may come in a form of extended Jest matcher, or an utility function.

@mykulyak mykulyak self-assigned this Feb 24, 2023
@mykulyak mykulyak changed the title Ensure that generated code always compiles Ensure (on the unit test level) that generated code always compiles Feb 24, 2023
@mykulyak mykulyak added the enhancement New feature or request label Feb 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant