News for hackers. Stuff that matters.
Re:Django, now with JavaScript tests by crdoconnor on Friday July 03, 2015 @02:04AM (#9823794)
You should check out my new integration testing framework:

http://hitchtest.com

It handles a lot of the boilerplate for running services like django, celery, postgres, etc. as well as getting selenium up and running with firefox so that you can simulate clicks and stuff and a mock SMTP server so that you can simulate sending emails.

Re:Django, now with JavaScript tests by nichol4s on Friday July 03, 2015 @02:35AM (#9823887)
Thanks! This looks pretty nice. I like how you've added the option to 'time travel' and check for example if a reminder mail is being send correctly.
Re:Django, now with JavaScript tests by crdoconnor on Friday July 03, 2015 @04:17AM (#9824253)
Glad you like it.

>I like how you've added the option to 'time travel' and check for example if a reminder mail is being send correctly.

Yes, those two things are a large part of why I wrote it.

I wanted a clean integration with libfaketime and I wanted to be able to create simple mock services that logged out JSON that the test could wait for with epoll, parse and use to verify that the event interaction occurred (e.g. email got received by SMTP gateway/API call was made).

Re:Django, now with JavaScript tests by ecesena on Friday July 03, 2015 @01:04PM (#9826689)
Cool thanks - I'll look at it!