Another alternative automated test runner is nosyd. It provides a
similar service with notifications through Growl, etc and the ability
to monitor any number of projects simultaneously.

I've just started to maintain my fork at https://github.com/jesseh/nosyd

This original code is from https://github.com/lacostej who does not
seem to be maintaining it anymore.

-Jesse

On Apr 27, 10:58 pm, Shawn Milochik <sh...@milochik.com> wrote:
> http://dpaste.com/hold/536487/
>
> I cobbled this little script together that monitors my project folder
> and runs tests every time a .py file is saved. I'm sharing it in case
> anyone is interested. Feedback is welcome, of course.
>
> Interesting bits:
>
>      pyinotify: This module plugs into kernel notifications so you don't
> have to do something horrible like put os.walk in a loop.
>
>      call_command: Kenny Meyer pointed this out to me. It lets you run
> 'manage.py' commands from a Python 
> script.http://docs.djangoproject.com/en/dev/ref/django-admin/#running-manage...
>
>      SystemExit: When sys.exit() is called, you can't catch it with
> "except Exception," because it has a different base class.
>          Thanks to Alex Gaynor for helping me with this one.

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.

Reply via email to