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 #10

Open
rafaelrinaldi opened this issue Feb 4, 2016 · 2 comments
Open

Tests #10

rafaelrinaldi opened this issue Feb 4, 2016 · 2 comments

Comments

@rafaelrinaldi
Copy link
Owner

Write some unit tests to make sure that at least the core features are reliable.

@erickbelfy
Copy link
Contributor

I would like to know which unit test case you are working with so i can write some unit tests here.

@rafaelrinaldi
Copy link
Owner Author

@erickbelfy some topics that come to my mind on the subject:

  • API reliability
  • When selecting items if the URL is properly composed
  • Request errors are properly notified
  • Renderer progress is properly reported
  • Screen is properly "destroyed"

Regarding the test runner, I've been using ava lately for tests and I'm pretty happy with it. Mostly because:

  • ES6 stage 2 (await, async, yield, generators, and so on) is supported out of the box
  • API is really close to tape which I was using until then

See an example of a simple async test suite I built for a project.

I'm open to use whatever though, just wanted to mention my last experiences with testing.

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

2 participants