[Chicago] Running tests automatically with Unitttest...
Malcolm Newsome
malcolm.newsome at gmail.com
Fri Feb 27 22:50:40 CET 2015
@Adam I saw Autonose and Sniffer and those look like what I want.
However, they're both for Nose and not Unitttest. I am hesitant to use
PyAutoNotify since it hasn't had any commits since 2013.
@Brian - great question. The idea is that the only tests that would be
automatically run are those that are dependent on the file that was just
changed...Therefore, the entire test suite would not get run automatically
each time a file changed. Re-running all tests every time would definitely
be poopy. :)
Is Nose more commonly used (or preferred) as opposed to the default
Unittest?
Thanks!
Malcolm
>
> ---------- Forwarded message ----------
> From: Adam Forsyth <adam at adamforsyth.net>
> To: The Chicago Python Users Group <chicago at python.org>
> Cc:
> Date: Thu, 26 Feb 2015 16:14:38 -0600
> Subject: Re: [Chicago] Running tests automatically with Unitttest...
> I don't have a recommendation, but here are five I found googling around a
> bit. I'm sure some of them are available on PyPI. If any of them seem to
> work well for you, let us know!
>
> https://github.com/gfxmonk/autonose
> https://github.com/jeffh/sniffer/
> https://github.com/ascarter/pyautotest
> https://github.com/dnephin/PyAutoTest
> https://github.com/dbr/pyautotest/
>
> On Thu, Feb 26, 2015 at 4:08 PM, Malcolm Newsome <
> malcolm.newsome at gmail.com> wrote:
>
>>
>> Hey all,
>>
>> I recently picked up working with Django again and am using the default
>> unittest.
>>
>> I'm wondering if anyone has any suggestions on a good test runner--that
>> watches the files for changes and reruns tests automatically (similar to
>> Guard for Ruby/Rspec). I did try several Google searches...but was unable
>> to find what I was looking for.
>>
>> Thanks!
>>
>> Malcolm
>>
>>
>>
>> _______________________________________________
>> Chicago mailing list
>> Chicago at python.org
>> https://mail.python.org/mailman/listinfo/chicago
>>
>>
>
>
> ---------- Forwarded message ----------
> From: Brad Shoda <bshoda at matlensilver.com>
> To: The Chicago Python Users Group <chicago at python.org>
> Cc:
> Date: Thu, 26 Feb 2015 16:09:24 -0600
> Subject: Re: [Chicago] DePy 2015
> Hi Massimo,
>
> My company is interested in sponsoring this event. I was wondering if you
> had more information I can forward to my manager.
>
> Thanks,
> Brad
>
> On Thu, Feb 26, 2015 at 3:46 PM, DiPierro, Massimo <
> MDiPierro at cs.depaul.edu> wrote:
>
>> Hello everybody,
>>
>> I am happy to announce DePy 2015. A conference on Python hosted at DePaul
>> on May 29 & 30. The conference will focus specifically on Data Analysis,
>> Machine Learning and Web Development
>>
>> http://mdp.cdm.depaul.edu/DePy2015
>>
>> We have limited space so, if you are interested, please register asap.
>> When you register you also have the option to propose yourself as a
>> speaker. I know many good speaker on the Chipy list and I am hoping to have
>> many proposals. If you want to suggest a speaker other then yourself, let
>> me know and, if approved we will try invite the speaker.
>>
>> Moreover, if you can and want to help with the organization, please let
>> me know.
>>
>> If you know companies that may want to sponsor the event, also let me
>> know.
>>
>> We already have some sponsors and a nice venue that can host about 300
>> people.
>>
>> Massimo
>> _______________________________________________
>> Chicago mailing list
>> Chicago at python.org
>> https://mail.python.org/mailman/listinfo/chicago
>>
>
>
>
> --
> *Brad Shoda*
> Resource Manager
> Matlen Silver
> (312) 940-6212
>
>
>
>
>
>
> ---------- Forwarded message ----------
> From: Brian Ray <brianhray at gmail.com>
> To: The Chicago Python Users Group <chicago at python.org>
> Cc:
> Date: Thu, 26 Feb 2015 17:34:57 -0600
> Subject: Re: [Chicago] Running tests automatically with Unitttest...
> The tricky part is watching for changes, right?
>
> I don't have an answer; however, looking at the autoreload.py might give
> you some ideas:
> https://github.com/django/django/blob/2ee9bce654f940a8de5ef121f39b6fcb6d09741a/django/utils/autoreload.py
>
> Within it uses pyinotify, which may also give you some ideas.
>
> However, do you really want to re-run all the tests every time you change
> a file? Sounds like that may be overkill?
>
>
> On Thu, Feb 26, 2015 at 4:08 PM, Malcolm Newsome <
> malcolm.newsome at gmail.com> wrote:
>
>>
>> Hey all,
>>
>> I recently picked up working with Django again and am using the default
>> unittest.
>>
>> I'm wondering if anyone has any suggestions on a good test runner--that
>> watches the files for changes and reruns tests automatically (similar to
>> Guard for Ruby/Rspec). I did try several Google searches...but was unable
>> to find what I was looking for.
>>
>> Thanks!
>>
>> Malcolm
>>
>>
>>
>> _______________________________________________
>> Chicago mailing list
>> Chicago at python.org
>> https://mail.python.org/mailman/listinfo/chicago
>>
>>
>
>
> --
> Brian Ray
> @brianray
> (773) 669-7717
>
>
> ---------- Forwarded message ----------
> From: Chris Foresman <foresmac at gmail.com>
> To: The Chicago Python Users Group <chicago at python.org>
> Cc:
> Date: Thu, 26 Feb 2015 17:41:11 -0600
> Subject: Re: [Chicago] Running tests automatically with Unitttest...
> Yeah, that does seem like overkill to me, too. But really what you need is
> some daemon process that would monitor your project folder and any folders
> inside it and then runs `python manage.py test`; you could probably do that
> with Automator, TBH.
>
> We run tests manually in the local environment then trigger the test suite
> automatically when we open a pull request in Github. That’s probably a more
> common set up if you ask around.
>
>
>
> Chris Foresman
> chris at chrisforesman.com
>
>
>
> On Feb 26, 2015, at 5:34 PM, Brian Ray <brianhray at gmail.com> wrote:
>
> The tricky part is watching for changes, right?
>
> I don't have an answer; however, looking at the autoreload.py might give
> you some ideas:
> https://github.com/django/django/blob/2ee9bce654f940a8de5ef121f39b6fcb6d09741a/django/utils/autoreload.py
>
> Within it uses pyinotify, which may also give you some ideas.
>
> However, do you really want to re-run all the tests every time you change
> a file? Sounds like that may be overkill?
>
>
> On Thu, Feb 26, 2015 at 4:08 PM, Malcolm Newsome <
> malcolm.newsome at gmail.com> wrote:
>
>>
>> Hey all,
>>
>> I recently picked up working with Django again and am using the default
>> unittest.
>>
>> I'm wondering if anyone has any suggestions on a good test runner--that
>> watches the files for changes and reruns tests automatically (similar to
>> Guard for Ruby/Rspec). I did try several Google searches...but was unable
>> to find what I was looking for.
>>
>> Thanks!
>>
>> Malcolm
>>
>>
>>
>> _______________________________________________
>> Chicago mailing list
>> Chicago at python.org
>> https://mail.python.org/mailman/listinfo/chicago
>>
>>
>
>
> --
> Brian Ray
> @brianray
> (773) 669-7717
> _______________________________________________
> Chicago mailing list
> Chicago at python.org
> https://mail.python.org/mailman/listinfo/chicago
>
>
>
>
> ---------- Forwarded message ----------
> From: Lane Campbell <lane at strapr.com>
> To: The Chicago Python Users Group <chicago at python.org>
> Cc:
> Date: Thu, 26 Feb 2015 18:42:42 -0600
> Subject: Re: [Chicago] DePy 2015
> Registered!
>
> That form was tough to use on a mobile device, just an FYI.
>
> Sent from my iPhone
>
> > On Feb 26, 2015, at 3:46 PM, DiPierro, Massimo <MDiPierro at cs.depaul.edu>
> wrote:
> >
> > Hello everybody,
> >
> > I am happy to announce DePy 2015. A conference on Python hosted at
> DePaul on May 29 & 30. The conference will focus specifically on Data
> Analysis, Machine Learning and Web Development
> >
> > http://mdp.cdm.depaul.edu/DePy2015
> >
> > We have limited space so, if you are interested, please register asap.
> When you register you also have the option to propose yourself as a
> speaker. I know many good speaker on the Chipy list and I am hoping to have
> many proposals. If you want to suggest a speaker other then yourself, let
> me know and, if approved we will try invite the speaker.
> >
> > Moreover, if you can and want to help with the organization, please let
> me know.
> >
> > If you know companies that may want to sponsor the event, also let me
> know.
> >
> > We already have some sponsors and a nice venue that can host about 300
> people.
> >
> > Massimo
> > _______________________________________________
> > Chicago mailing list
> > Chicago at python.org
> > https://mail.python.org/mailman/listinfo/chicago
>
>
> _______________________________________________
> Chicago mailing list
> Chicago at python.org
> https://mail.python.org/mailman/listinfo/chicago
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/chicago/attachments/20150227/f5535796/attachment.html>
More information about the Chicago
mailing list