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

Add unit tests #42

Open
GerkinDev opened this issue Feb 14, 2019 · 0 comments
Open

Add unit tests #42

GerkinDev opened this issue Feb 14, 2019 · 0 comments

Comments

@GerkinDev
Copy link

In order to speed up a library rewrite (#41), having some tests would be great.

For unit & integration tests, jest could be used. For end-to-end, you can find some popular tools with samples on this gist.

Unit & integration tests could be long to write, so the order of priority would be:

  1. e2e test
  2. integration test
  3. unit test

I'll add missing tests during the rewrite anyway, but e2e would greatly reduce regressions. Moreover, the actual lib can totally be tested with e2e.

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