Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Tests #72

Open
leeoniya opened this issue Dec 14, 2019 · 0 comments
Open

Tests #72

leeoniya opened this issue Dec 14, 2019 · 0 comments
Labels
good first issue Good for newcomers

Comments

@leeoniya
Copy link
Owner

leeoniya commented Dec 14, 2019

it's becoming more time-consuming and error-prone to manually re-test all the demos following internal refactorings and API adjustments.

now that the API is fleshed out a bit, it's possible to test a large amount of code (non-granularly) without having to simulate all interactions via Puppeteer or similar.

a lot of code can already be regression-tested by simply running all the demos and validating the .outerHTML of the dom, and diffing reference images of resulting uPlot canvases via something like https://github.com/mapbox/pixelmatch.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant