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

Test the generated form? #6

Open
jackjennings opened this issue Jun 15, 2017 · 3 comments
Open

Test the generated form? #6

jackjennings opened this issue Jun 15, 2017 · 3 comments

Comments

@jackjennings
Copy link
Member

Seems like the generated files should be tested somehow, though not sure at this point how that might work (especially testing the test file)…

@ghost
Copy link

ghost commented Jun 19, 2017

Testing that the generated files exist? That the attributes exist? Or...

@jackjennings
Copy link
Member Author

The test that is already written tests existence, I just wonder if it should also be checked for validity somehow.

@jackjennings
Copy link
Member Author

Maybe at the minimum it could be compared to a hand-written file, but it would be nice to check that it was syntactically correct as well. At most the generated file could even be loaded and executed, though there are enough problems with that, I'm not sure if it's worth it.

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