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

Tests #72

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

Tests #72

leeoniya opened this issue Dec 14, 2019 · 0 comments

Comments

@leeoniya
Copy link
Owner

@leeoniya 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.

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

Successfully merging a pull request may close this issue.

None yet
1 participant