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

Idea: add 'saved docs validate' tests #227

Open
danielrichman opened this issue Aug 21, 2012 · 0 comments
Open

Idea: add 'saved docs validate' tests #227

danielrichman opened this issue Aug 21, 2012 · 0 comments

Comments

@danielrichman
Copy link
Member

I added a basic test to test_uploader since I kept failing validation. It's quite simple; other tests compare the docs that the uploader creates against hardcoded 'expected' docs (via Mox). So I just ran all those hardcoded docs through validation, thereby ensuring that the uploader produces valid docs.
Could add a similar thing to the parser. It tests both the parser and the uploader, and stops us accidentally breaking validation later on after this is deployed.

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

No branches or pull requests

1 participant