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

Schema coverage testing #26

Open
jwfraustro opened this issue Sep 26, 2024 · 0 comments
Open

Schema coverage testing #26

jwfraustro opened this issue Sep 26, 2024 · 0 comments
Assignees

Comments

@jwfraustro
Copy link
Collaborator

Currently, the pydantic-xml models in this package are hand-written based on the relevant standard's XSD schema. With them are unit tests that cover the basic round-tripping from model to XML, and that the various attributes are accessible as expected, especially when discriminating between inherited classes.

However, this leaves room for parts of the schema to be missed due to human error. Some type of automated coverage checking of the current models against the standard's schema would provide some insulation from this.

@jwfraustro jwfraustro self-assigned this Sep 26, 2024
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