Mailing List

Flat
Interactive TDD
User: zjt
Date: 3/21/2012 2:24 pm
Views: 452
Rating: 0
Riffing on the idea of interactive programming and TDD, I created an app
that monitors (using AnyEvent::FileSys::Notify) for changes to files
(such as in lib/ and t/) and then runs a command (such as 'prove -Ilib
t') and outputs the results to your terminal and/or to Growl (using
Growl::Any)

The end result is that it will display your entire test suite results
every time you save your file(s).  It's highly configurable, so you
could use it for lots of other things as well.

https://github.com/zjt/Interactive-TDD

Let me know if you find any bugs or have any feature suggestions.  For
example: I think that I would like to add support for Net::Growl so that
I can get Growl notifications when I'm working on a remote server.

Enjoy!

Jesse

Re: Interactive TDD
User: david-delikat
Date: 3/21/2012 9:25 pm
Views: 0
Rating: 0

looks pretty cool.   from browsing the code
it looks like it is possible to try to use growl
even if it is not installed.  if the user passes
the growl flag on the command line it will
over write the value from growl_ok.  it 
should probably check the growl_ok flag 
inside the output method.

-dav

On Mar 21, 2012, at 2:24 PM, <jesse.thompson@doit.wisc.edu> <jesse.thompson@doit.wisc.edu> wrote:

zjt wrote:

Riffing on the idea of interactive programming and TDD, I created an app
that monitors (using AnyEvent::FileSys::Notify) for changes to files
(such as in lib/ and t/) and then runs a command (such as 'prove -Ilib
t') and outputs the results to your terminal and/or to Growl (using
Growl::Any)

The end result is that it will display your entire test suite results
every time you save your file(s).  It's highly configurable, so you
could use it for lots of other things as well.

https://github.com/zjt/Interactive-TDD

Let me know if you find any bugs or have any feature suggestions.  For
example: I think that I would like to add support for Net::Growl so that
I can get Growl notifications when I'm working on a remote server.

Enjoy!

Jesse

View Online



Madison Area Perl Mongers - MadMongers
http://www.madmongers.org

Re: Interactive TDD
User: zjt
Date: 3/22/2012 10:01 am
Views: 0
Rating: 0
Yeah, I should fix that.  There's also a problem where Growl::Any could
be installed and working without error, but not an actual implementation
of the Growl interface, such as Cocoa::Growl.

Jesse

On 3/21/12 9:25 PM, david-delikat@usa.net wrote:
> david-delikat wrote:
>
>
> looks pretty cool. from browsing the code
> it looks like it is possible to try to use growl
> even if it is not installed. if the user passes
> the growl flag on the command line it will
> over write the value from growl_ok. it
> should probably check the growl_ok flag
> inside the output method.
>
> -dav
>
> On Mar 21, 2012, at 2:24 PM,  >  > wrote:
>
>> zjt wrote:
>>
>> Riffing on the idea of interactive programming and TDD, I created an app
>> that monitors (using AnyEvent::FileSys::Notify) for changes to files
>> (such as in lib/ and t/) and then runs a command (such as 'prove -Ilib
>> t') and outputs the results to your terminal and/or to Growl (using
>> Growl::Any)
>>
>> The end result is that it will display your entire test suite results
>> every time you save your file(s). It's highly configurable, so you
>> could use it for lots of other things as well.
>>
>> https://github.com/zjt/Interactive-TDD
>>
>> Let me know if you find any bugs or have any feature suggestions. For
>> example: I think that I would like to add support for Net::Growl so that
>> I can get Growl notifications when I'm working on a remote server.
>>
>> Enjoy!
>>
>> Jesse
>>
>> View Online
>>
>>
>>
>>
>> Madison Area Perl Mongers - MadMongers
>> http://www.madmongers.org
>
> View Online
>
>
>
>
> Madison Area Perl Mongers - MadMongers
> http://www.madmongers.org

Re: Interactive TDD
User: hoelzro
Date: 3/22/2012 4:23 am
Views: 4
Rating: 0

Seems pretty similar to

Re: Interactive TDD
User: zjt
Date: 3/22/2012 9:58 am
Views: 0
Rating: 0
to what?

On 3/22/12 4:23 AM, rob@hoelz.ro wrote:
> hoelzro wrote:
>
> Seems pretty similar to
>
> View Online
>
>
>
>
> Madison Area Perl Mongers - MadMongers
> http://www.madmongers.org

Re: Interactive TDD
User: hoelzro
Date: 3/22/2012 1:19 pm
Views: 0
Rating: 0

Sorry, that didn't go through for whatever reason...

It seems somewhat similar to Test::Continuous, but I never got that to work right!

Re: Interactive TDD
User: zjt
Date: 3/23/2012 2:15 pm
Views: 0
Rating: 0
And here I thought I was inventing something original.  Oh well.

Jesse

On 3/22/12 1:19 PM, rob@hoelz.ro wrote:
> hoelzro wrote:
>
> Sorry, that didn't go through for whatever reason...
>
> It seems somewhat similar to Test::Continuous, but I never got that to
> work right!
>
> View Online
>
>
>
>
> Madison Area Perl Mongers - MadMongers
> http://www.madmongers.org

PreviousNext
Madison Area Perl Mongers