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

testgen: generate output checks #69

Closed
webern opened this issue Nov 14, 2020 · 0 comments
Closed

testgen: generate output checks #69

webern opened this issue Nov 14, 2020 · 0 comments
Labels
Milestone

Comments

@webern
Copy link
Owner

webern commented Nov 14, 2020

For those tests that have a file, e.g. exile_sometest.output.xml, serialize and compare to the output file.

@webern webern added the test label Nov 14, 2020
@webern webern added this to the testgen milestone Nov 14, 2020
webern added a commit that referenced this issue Nov 15, 2020
Move existing exile test files to the input_data directory and stop
copying them during test generation. This commit has some failing tests
because the tests generated by xtest still exist.

The tests generate by testgen do not yet have a serialization assertion
when an output.xml file is present (#69). Once those assertions are
generated, then the failing tests will be fully replicated by testgen
and can be deleted (along with the xtest crate).
webern added a commit that referenced this issue Nov 15, 2020
Move existing exile test files to the input_data directory and stop
copying them during test generation. This commit has some failing tests
because the tests generated by xtest still exist.

The tests generate by testgen do not yet have a serialization assertion
when an output.xml file is present (#69). Once those assertions are
generated, then the failing tests will be fully replicated by testgen
and can be deleted (along with the xtest crate).
webern added a commit that referenced this issue Nov 15, 2020
Move existing exile test files to the input_data directory and stop
copying them during test generation. This commit has some failing tests
because the tests generated by xtest still exist.

The tests generate by testgen do not yet have a serialization assertion
when an output.xml file is present (#69). Once those assertions are
generated, then the failing tests will be fully replicated by testgen
and can be deleted (along with the xtest crate).
webern added a commit that referenced this issue Nov 15, 2020
Move existing exile test files to the input_data directory and stop
copying them during test generation. This commit has some failing tests
because the tests generated by xtest still exist.

The tests generate by testgen do not yet have a serialization assertion
when an output.xml file is present (#69). Once those assertions are
generated, then the failing tests will be fully replicated by testgen
and can be deleted (along with the xtest crate).
webern added a commit that referenced this issue Nov 15, 2020
For exile test cases that have a .output.xml file, create a function
that asserts correct serialization. Unfortunately we still cannot delete
the tests that were generated by xtest until we generate not-well-formed
tests.
@webern webern closed this as completed Nov 15, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant