OSDC.tw 2008 Lightening Talk

Preview:

DESCRIPTION

My recent two perl modules: self.pm, and Test::Continuous.

Citation preview

新 Perl modules

gugod.org

self.pm

use self;sub hi { my $self = shift; say $self->greeting}sub greeting { "Nihao" }

my $self = shift;

my $self = shift;

use self;sub hi { say self->greeting }

@DB::args

selfvar.pm

use selfvar;sub hi { say $self->greeting }

Test Continuoushttp://search.cpan.org/dist/Test-Continuous

Continuous Testingfor Java

(Eclipse Plugin)

http://groups.csail.mit.edu/pag/continuoustesting/

檢索: Continuous Testing

•Foo.java•FooTest.java

We Perl

perl -MTest::Continuous -e runtests'

---------------------------------------------/Users/gugod/dev/handlino-gugod/perl5/Acme-Greeting/t/01.english.t (Wstat: 65280 Tests: 5 Failed: 1) Failed test: 5 Non-zero exit status: 255 Parse errors: Bad plan. You planned 4 tests but ran 5.Files=1, Tests=5, 0 wallclock secs ( 0.00 usr 0.01 sys + 0.05 cusr 0.01 csys = 0.07 CPU)Result: FAIL[MSG]: /Users/gugod/dev/handlino-gugod/perl5/Acme-Greeting/t/01.english.t was changed./Users/gugod/dev/handlino-gugod/perl5/Acme-Greeting/t/01.english......ok

---------------------------------------------Result: PASS[MSG]: /Users/gugod/dev/handlino-gugod/perl5/Acme-Greeting/t/01.english.t was changed./Users/gugod/dev/handlino-gugod/perl5/Acme-Greeting/t/01.english......ok

---------------------------------------------

/me Mac

GrowlUniversal Reminder

GrowlUniversal Reminder

DEMO

Feature

只跑最少測試

Auto, Module::UseExtract

Convention based

Support other Universal Reminder

ご清聽どうもありがとございます