Yes there is. I should add that to the documentation. You can simply run py.test with the path to the test suite you want to run, eg tests/unit/test_clock.py You can also use -k to filter for specific test cases.
Rob On 14 November 2015 at 14:04, Jason Spashett <[email protected]> wrote: > Is there a way to run one particular test from a suite rather than the > whole lot. I couldn't figure this out when I wanted to reproduce a bug. I > guess it is documented in the test framework somewhere though. > > > On Friday, 13 November 2015 19:59:33 UTC, Rob wrote: >> >> Hi all, >> >> As promised I did an update of the testing documentation. You can find it >> here: http://pyglet.readthedocs.org/en/latest/internal/testing.html >> >> Please let me know if there are questions. I will also be updating other >> parts of the documentation, including a short primer on how to develop >> pyglet itself. >> >> Rob >> > -- > 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 [email protected]. > To post to this group, send email to [email protected]. > Visit this group at http://groups.google.com/group/pyglet-users. > For more options, visit https://groups.google.com/d/optout. > -- 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 [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/pyglet-users. For more options, visit https://groups.google.com/d/optout.
