On 09/05/15 12:09, Rob wrote:
Hi all,

For pyglet 1.3.x I've been working on a new test framework to make it easier to run all tests during development and while preparing for a release. This week I migrated the last test to this new framework and created the documentation for it. The framework still relies on the built-in unittest module in Python plus the mock library (builtin since Python 3.3, but also included in the pyglet source tree).

What does this mean? Well, to start the old tests/test.py no longer exists, instead there is the module tests.run. The tests have been split into unit, integration and interactive tests. For the interactive tests a new base class is introduced to handle the user verification and screenshots. Also support for coverage (if installed) is added.

To find more details about the new test framework, please see the documentation at: http://pyglet.readthedocs.org/en/latest/internal/testing.html

There is still some work in progress, which includes increasing the coverage and testing on all platforms, but the basic gist is there.

Kind regards,
Rob

Thanks a lot Rob, great work.

--
You received this message because you are subscribed to the Google Groups 
"pyglet-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to pyglet-users+unsubscr...@googlegroups.com.
To post to this group, send email to pyglet-users@googlegroups.com.
Visit this group at http://groups.google.com/group/pyglet-users.
For more options, visit https://groups.google.com/d/optout.

Reply via email to