... tag’) unless $_TO_HTML->{$tag}; # We ignore the attributes for now. shift(@$tree); return $ TO HTML->{$tag }-& gt;{prefix} . ${ to html($tree)} . $ TO HTML->{$tag }-& gt;{suffix}; } to html ... Nagler All rights reserved nagler@extremeperl.org 158 subject matter oriented program- ming, 63 Swiss Army Chainsaw, 19 task, 33 test-driven design, 83 test-first programming, 83 the custo...
Ngày tải lên: 05/08/2014, 10:21
... this book is about the non -programming aspects of Extreme Perl: the why (The Problem), the what (Extreme Programming and Perl) and the how (Release Planning, Iteration Planning, Acceptance Testing, ... nagler@extremeperl.org iv tance Testing, but everybody should be able to read it. The last chapter (It’s a SMOP) is an end-to-end Extreme Perl example that combines XP, Perl, and SMO...
Ngày tải lên: 05/08/2014, 10:21
Extreme Programming in Perl Robert Nagler phần 2 pps
... described in the previous sections. In his book Extreme Programming Explained Kent Beck defines the 12 practices as follows (quoted verbatim): The Planning Game Quickly determine the scope of the ... weeks. Pair Programming We continuously balance between improving internal quality and adding business function based on peer-to-peer discussions and individual task commitments. A pai...
Ngày tải lên: 05/08/2014, 10:21
Extreme Programming in Perl Robert Nagler phần 3 pptx
... left to the pro- grammers. The customer should see a continuous flow of software distribu- tions in order of decreasing business value. XP eschews big bang releases. A working end-to-end system is ... copy-and- paste, because the refactoring required to make the pasted code reusable may be lengthy. 5 Write down the problem on a story card and bring it to the next planning game or iteration...
Ngày tải lên: 05/08/2014, 10:21
Extreme Programming in Perl Robert Nagler phần 4 docx
... re- duces quality, which can be difficult to recover from, because the team falls into the bug-fixing trap soon after launch. Too little refactor- ing multiplies defects through copy-and-paste-itis: ... classical testing and quality assurance. 3 In Testing Extreme Programming, Lisa Crispin and Tip House state that “All ac- ceptance tests on an Extreme Programming project must be automated...
Ngày tải lên: 05/08/2014, 10:21
Extreme Programming in Perl Robert Nagler phần 5 docx
... focus on the important bit: solving the customer’s problem. 9.3 Team Colors In Extreme Programming Explained, Kent Beck wrote, “The standard must be adopted voluntarily by the whole team.” This ... application cross-functionally. The creation of test scripts is a collaborative effort, much like pair programming. This sort of detailed matters, and probably won’t come up during the pla...
Ngày tải lên: 05/08/2014, 10:21
Extreme Programming in Perl Robert Nagler phần 6 doc
... unit test to clarify his intentions before he makes a change. We call this test-driven design (TDD) or test-first programming, because an API’s design and implementation are guided by its tes t ... the customer’s per- spective and tests end-user functionality, usually through the same interface that an ordinary user uses. In constrast, a unit test exercises an API, for- mally known as a ... t...
Ngày tải lên: 05/08/2014, 10:21
Extreme Programming in Perl Robert Nagler phần 7 pot
... reserved nagler@extremeperl.org 110 $self->{sum} -= shift(@{$self->{values}}) if $self->{length} eq @{$self->{values}}; return ($self->{sum} += $value) / push(@{$self->{values}}, ... { use_ok(’EMA’); } ok(my $ema = EMA->new(4)); is($ema->compute(5), 5); is($ema->compute(5), 5); is($ema->compute (10) , 7); dies ok {EMA->new (-2 )}; dies ok {EMA->new(0...
Ngày tải lên: 05/08/2014, 10:21
Extreme Programming in Perl Robert Nagler phần 8 ppsx
... ’AUTHORIZATION’); is($pop 3-& gt;User($cfg->{USER}), $cfg->{USER}); is($pop 3-& gt;User, $cfg->{USER}); is($pop 3-& gt;Pass($cfg->{PASSWORD}), $cfg->{PASSWORD}); is($pop 3-& gt;Pass, $cfg->{PASSWORD}); is($pop 3-& gt;Login, ... ’DEAD’); is($pop 3-& gt;Alive, ’’); is($pop 3-& gt;Host($cfg->{HOST}), $cfg->{HOST}); is($pop 3-& gt;Host, $cfg->{HOST}); $p...
Ngày tải lên: 05/08/2014, 10:21
Extreme Programming in Perl Robert Nagler phần 9 pps
... ’LIST’; $CMD=~ tr/a-z/A-Z/; $me->Alive() or return; my @retarray = (); my $ret = ’’; $me->_checkstate(’TRANSACTION’, $CMD) or return; $me->_sockprint($CMD, $num ? " $num" : ’’, $me->EOL()); my ... ’LIST’; $CMD=~ tr/a-z/A-Z/; $me->Alive() or return; my @retarray = (); my $ret = ’’; $me->_checkstate(’TRANSACTION’, $CMD) or return; Copyright c 2004 Robert Nagler All...
Ngày tải lên: 05/08/2014, 10:21