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

Write tests against static rendered png and svg outputs #20

Open
jayqi opened this issue Feb 11, 2021 · 0 comments
Open

Write tests against static rendered png and svg outputs #20

jayqi opened this issue Feb 11, 2021 · 0 comments
Labels
enhancement New feature or request

Comments

@jayqi
Copy link
Member

jayqi commented Feb 11, 2021

Right now we don't fully check rendered content on diagrams, but we should.

We should do this in a parameterized way to reduce the amount of testing code to be maintained. We can use pytest's fixtures to load the example classes and/or created diagram objects. Addressed in #21.

#21 addressed creating the static outputs, and has a test that checks the against the static DOT files. Still need tests that check png and svg formats.

@jayqi jayqi added the enhancement New feature or request label Feb 11, 2021
@jayqi jayqi changed the title Create parameterized tests that check rendered content Write tests against static rendered png and svg outputs Feb 11, 2021
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