jezdez / django-discover-runner

A Django test runner based on unittest2's test discovery.
http://pypi.python.org/pypi/django-discover-runner
Other
132 stars 13 forks source link

Add signal for finished tests #13

Closed amarsahinovic closed 11 years ago

amarsahinovic commented 11 years ago

Add signal to DiscoverRunner which allows other apps to get the number of failed tests.

Original discussion here: https://twitter.com/jezdez/status/322755071878234112

What I want to do is to write an app which would generate system notifications when tests fail/succeed. With my hacked-up version this is what I get:

notification

For this I need to get the number of failed tests from discover runner.

jezdez commented 11 years ago

I think this is still a great idea, but maybe better to be implemented in a separate app. That app could easily depend on django-discover-runner with standard Python packaging tools and implement a NotificationTestRunner or something like that. I'm closing this issue in the meantime as "out of scope". Thanks!