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

Closed
rossant opened this issue Aug 25, 2013 · 4 comments
Closed

Unit tests #32

rossant opened this issue Aug 25, 2013 · 4 comments

Comments

@rossant
Copy link
Member

rossant commented Aug 25, 2013

Update the existing tests to make them work with nose (no need to use the native unittest Python module).

We should also set up tests for the various sub-packages:

  • event system
  • GL commands: if a GL context can be acquired, draw some basic shapes and compare them with ground truth (using image processing algorithms)
  • OOGL: write basic tests for OOGL features, get the list of generate GL calls (with the arguments) and compare that with the ground truth. This is pure Python here, no need for any GL context.
@campagnola
Copy link
Member

Event system tests are in vispy/tests; I guess these should move to vispy/core/tests.

@rossant
Copy link
Member Author

rossant commented Aug 25, 2013

+1. Ideally, if we could have all tests in vispy/subpackage/tests, and no
vispy/test folder at all, it would be even better I think.

@almarklein
Copy link
Member

+1
On Aug 25, 2013 8:33 PM, "Cyrille Rossant" notifications@github.com wrote:

+1. Ideally, if we could have all tests in vispy/subpackage/tests, and no
vispy/test folder at all, it would be even better I think.


Reply to this email directly or view it on GitHubhttps://github.com//issues/32#issuecomment-23232876
.

@rougier
Copy link
Contributor

rougier commented Aug 27, 2013

Started for oogl.

@rougier rougier closed this as completed Aug 27, 2013
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

4 participants