More Related Content Similar to Test Continuous Similar to Test Continuous (20) More from Kang-min Liu (16) Test Continuous14. ---------------------------------------------
/Users/gugod/dev/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/Acme-Greeting/t/01.english.t was changed.
/Users/gugod/dev/Acme-Greeting/t/01.english......ok
---------------------------------------------
Result: PASS
[MSG]: /Users/gugod/dev/Acme-Greeting/t/01.english.t was changed.
/Users/gugod/dev/Acme-Greeting/t/01.english......ok
--------------------------------------------- 15. What It Does...
1. Scan modified files
2. Find all tests requiring a re-run.
3. Run those tests
4. Report PASS / FAIL
5. GOTO 1 16. How it’s done
1. Scan modified files. File::Modified
2. Find all tests requiring a re-run.
Module::ExtractUse
3. Run those tests. App::Prove
4. Report PASS / FAIL. Log::Dispatch
5. GOTO 1. while(1) 22. What It Does (1st day)
1. Wait until any file is modified
2. Run all tests
3. Report PASS / FAIL
4. GOTO 1 29. Run as few tests
as possible
Module::ExtractUse 32. Moose.pm moose.t
Cow.pm cow.t
OX.pm fight.t 33. Moose.pm moose.t
Cow.pm cow.t
OX.pm fight.t 34. Moose.pm moose.t
Cow.pm cow.t
OX.pm fight.t 35. Moose.pm moose.t
Cow.pm cow.t
OX.pm fight.t 36. Moose.pm moose.t
Cow.pm cow.t
OX.pm fight.t 39. ---------------------------------------------
/Users/gugod/dev/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/Acme-Greeting/t/01.english.t was changed.
/Users/gugod/dev/Acme-Greeting/t/01.english......ok
---------------------------------------------
Result: PASS
[MSG]: /Users/gugod/dev/Acme-Greeting/t/01.english.t was changed.
/Users/gugod/dev/Acme-Greeting/t/01.english......ok
--------------------------------------------- 42. Growl
Universal Reminder
http://growl.info 43. Growl
Universal Reminder
http://growl.info 53. isa
Animal.pm Moose.pm
isa tested by
tested
by
Cow.pm cow.t moose.t 54. isa
Animal.pm Moose.pm
isa tested by
tested
by
Cow.pm cow.t moose.t 55. isa
Animal.pm Moose.pm
tested by
isa tested by
animal.t
tested
by
Cow.pm cow.t moose.t 58. Future
• Better Dependency Detection
• Convention based (For Catalyst / Jifty /
Others)
• Configuration based
• Support other Universal Reminder on
other platform. (Twitter!)