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

Unit tests? ;) #414

Closed
yas375 opened this issue Sep 23, 2015 · 4 comments
Closed

Unit tests? ;) #414

yas375 opened this issue Sep 23, 2015 · 4 comments
Labels

Comments

@yas375
Copy link
Contributor

yas375 commented Sep 23, 2015

How about adding some unit tests to the project? ;) Would be nice to have view snapshot tests. This should be useful in cases when someone finds some bug in rendering. We can write a unit test which will capture how it looks like. It will reduce possible regressions in future since a lot of people are using different parts of the library (different chart types) and can fix an issue in one chart, but it will cause an issue for another one.

I'm happy to volunteer to set up test environment :) If you are ok with that, then do you have any preferences on frameworks to use?

I'd like to try to use Quick, Nimble, and Nimble-Snapshots. I haven't worked with these libs yet because we have testing set up in Obj-C at work. But these libs look promising. We can see Artsy is using them as well. Should be good :)

@danielgindi
Copy link
Collaborator

That's a great idea!
I'll be happy to merge that in! Looking forward to see what you've done with it...

@yas375
Copy link
Contributor Author

yas375 commented Sep 23, 2015

Will do it soon then! 👍

@danielgindi
Copy link
Collaborator

👍

@danielgindi
Copy link
Collaborator

Ok so now its deployed and working wonderfully, we only need to add more tests :)

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

Successfully merging a pull request may close this issue.

2 participants