cvs: presentations / tdd-dpc7.xml /slides/ezc ez.css /slides/tdd addressing-defects.xml back-in-time.xml case-studies.xml
case-study-dev-testimonials.xml case-study-major-players.xml no-code-without-test.xml no-code-without-test2.xml not-a-testing-method.xml
phpunit-code-coverage1.png phpunit-code-coverage2.png phpunit-example1.png phpunit-output.xml phpunit.xml practical-test-driven-development.xml
religion.xml resources.xml tdd.xml test-driven-development.xml testing.xml the-test-is-king.xml title.xml unit-test-issues.xml unit-testing.xml
webapp-parts-1.xml
| From: | Derick Rethans | Date: | Thu, 14 Jun 2007 12:32:33 +0000 |
| Subject: | cvs: presentations / tdd-dpc7.xml /slides/ezc ez.css /slides/tdd addressing-defects.xml back-in-time.xml case-studies.xml case-study-dev-testimonials.xml case-study-major-players.xml no-code-without-test.xml no-code-without-test2.xml not-a-testing-method.xml phpunit-code-coverage1.png phpunit-code-coverage2.png phpunit-example1.png phpunit-output.xml phpunit.xml practical-test-driven-development.xml religion.xml resources.xml tdd.xml test-driven-development.xml testing.xml the-test-is-king.xml title.xml unit-test-issues.xml unit-testing.xml webapp-parts-1.xml |
||
| Groups: | php.pres | ||
| Request: | Send a blank email to pres+get-1413@lists.php.net to get a copy of this message | ||
derick Thu Jun 14 12:32:33 2007 UTC
Added files:
/presentations tdd-dpc7.xml
/presentations/slides/tdd addressing-defects.xml back-in-time.xml
case-studies.xml
case-study-dev-testimonials.xml
case-study-major-players.xml
no-code-without-test.xml
no-code-without-test2.xml
not-a-testing-method.xml
phpunit-code-coverage1.png
phpunit-code-coverage2.png
phpunit-example1.png phpunit-output.xml
phpunit.xml
practical-test-driven-development.xml
religion.xml resources.xml tdd.xml
test-driven-development.xml testing.xml
the-test-is-king.xml title.xml
unit-test-issues.xml unit-testing.xml
webapp-parts-1.xml
Modified files:
/presentations/slides/ezc ez.css
Log:
- Added the TDD talk for Amsterdam.
http://cvs.php.net/viewvc.cgi/presentations/slides/ezc/ez.css?r1=1.2&r2=1.3&diff_format=u Index: presentations/slides/ezc/ez.css diff -u presentations/slides/ezc/ez.css:1.2 presentations/slides/ezc/ez.css:1.3 --- presentations/slides/ezc/ez.css:1.2 Sat May 12 22:23:39 2007 +++ presentations/slides/ezc/ez.css Thu Jun 14 12:32:33 2007 @@ -116,12 +116,18 @@ font-size: 64px; text-align: center; font-weight: bold; + font-family: "MaxOT-book"; } div.small_blurb { font-size: 18px; } +div.blurb_header { + font-family: "MaxOT-book"; + font-size: 40px; +} + div.blurb, div.bit_larger_output_text, div.output { font-size: 24pt; width: 100%; @@ -223,6 +229,12 @@ font-weight: bold; } +div.session-title { + text-align: center; + font-size: 48pt; + font-family: "MaxOT-book"; +} + div.event, div.event-date, div.event-presenter { text-align: center; font-size: 26pt; http://cvs.php.net/viewvc.cgi/presentations/tdd-dpc7.xml?view=markup&rev=1.1 Index: presentations/tdd-dpc7.xml +++ presentations/tdd-dpc7.xml <?xml version="1.0" encoding="utf-8"?> <presentation template="css" navmode="html" navbarbackground="#4373b4" navbartopiclinks="0" navColor="#f1fbff" logo1="" stylesheet="presentations/slides/ezc/ez.css" backgroundfixed="1" > <topic>Testing</topic> <title>Test-Driven Development</title> <event>Dutch PHP Conference</event> <location>Amsterdam, The Netherlands</location> <date>June 16th, 2007</date> <speaker>Derick Rethans</speaker> <email>dr@ez.no</email> <url>http://derickrethans.nl/talks.php</url> <slide>slides/tdd/title.xml</slide> <!-- INTRODUCTION --> <slide>slides/toolbox/me.xml</slide> <!-- TESTING intro: - What needs testing? - Types of testing + tools --> <slide>slides/tdd/testing.xml</slide> <slide>slides/tdd/webapp-parts-1.xml</slide> <slide>slides/tdd/unit-testing.xml</slide> <!-- TDD intro - Development process, not just a test method - It is a religion: â¡â⪠- Traditional development - TDD - when to run tests --> <slide>slides/tdd/tdd.xml</slide> <slide>slides/tdd/not-a-testing-method.xml</slide> <slide>slides/tdd/religion.xml</slide> <slide>slides/tdd/back-in-time.xml</slide> <slide>slides/tdd/the-test-is-king.xml</slide> <slide>slides/tdd/test-driven-development.xml</slide> <slide>slides/tdd/practical-test-driven-development.xml</slide> <slide>slides/tdd/addressing-defects.xml</slide> <!-- Quick php unit example - Quick example - Code coverage - some problems with leaking, system dependent things, can't test private methods, hard to test exceptions - things that should not happen --> <slide>slides/tdd/phpunit.xml</slide> <slide>slides/tdd/phpunit-output.xml</slide> <slide>slides/tdd/no-code-without-test.xml</slide> <slide>slides/tdd/no-code-without-test2.xml</slide> <slide>slides/tdd/unit-test-issues.xml</slide> <!-- TDD case studies --> <slide>slides/tdd/case-studies.xml</slide> <slide>slides/tdd/case-study-major-players.xml</slide> <slide>slides/tdd/case-study-dev-testimonials.xml</slide> <slide>slides/internals/questions.xml</slide> <slide>slides/tdd/resources.xml</slide> </presentation> http://cvs.php.net/viewvc.cgi/presentations/slides/tdd/addressing-defects.xml?view=markup&rev=1.1 Index: presentations/slides/tdd/addressing-defects.xml +++ presentations/slides/tdd/addressing-defects.xml <?xml version="1.0" encoding="utf-8"?> <slide fontsize="6em"> <title>Test-Driven Development</title> <subtitle>Addressing Defects</subtitle> <blurb class="blurb_header">Write Test Case</blurb> <blurb>Write a test case to test the correct behavior of the method, and verify that the test case fails</blurb> <break lines="2"/> <blurb class="blurb_header">Fix the Issue</blurb> <blurb>Fix the implementation</blurb> <break lines="2"/> <blurb class="blurb_header">Verify Fix with Test Case</blurb> <blurb>Make sure that the test cases passes with the new implementation</blurb> <break lines="2"/> <blurb class="blurb_header">Check Other Test Cases</blurb> <blurb>Verify that the fix for this defect did not break any other test case</blurb> </slide> http://cvs.php.net/viewvc.cgi/presentations/slides/tdd/back-in-time.xml?view=markup&rev=1.1 Index: presentations/slides/tdd/back-in-time.xml +++ presentations/slides/tdd/back-in-time.xml <?xml version="1.0" encoding="iso-8859-1"?> <slide fontsize="6em"> <title>Back In Time</title> <subtitle>Traditional Development Phases</subtitle> <blurb class="blurb_header">Requirements Specification</blurb> <blurb>Define what the software is supposed to do.</blurb> <break lines="2"/> <blurb class="blurb_header">Design</blurb> <blurb>Define how the software is supposed to be implemented.</blurb> <break lines="2"/> <blurb class="blurb_header">Implementation</blurb> <blurb>The implementation of the software itself.</blurb> <break lines="2"/> <blurb class="blurb_header">Testing</blurb> <blurb>The implemented software is tested.</blurb> <div effect="hide"> <blurb>Sometimes.</blurb> </div> </slide> http://cvs.php.net/viewvc.cgi/presentations/slides/tdd/case-studies.xml?view=markup&rev=1.1 Index: presentations/slides/tdd/case-studies.xml +++ presentations/slides/tdd/case-studies.xml <?xml version="1.0" encoding="utf-8"?> <slide template="title" fontsize="6em"> <blurb class="title_blurb">Case Studies</blurb> </slide> http://cvs.php.net/viewvc.cgi/presentations/slides/tdd/case-study-dev-testimonials.xml?view=markup&rev=1.1 Index: presentations/slides/tdd/case-study-dev-testimonials.xml +++ presentations/slides/tdd/case-study-dev-testimonials.xml <?xml version="1.0" encoding="utf-8"?> <slide fontsize="6em"> <title>Case Studies</title> <subtitle>Developer Comments</subtitle> <list> <bullet>At first I didn't like that I need to write tests for my code, but now after using it for more than 10 months I can't program without it.</bullet> </list> <list> <bullet>Helps to come up with better APIs.</bullet> </list> <list> <bullet>It gives confidence that our software is working well at all times. Even after making major changes and/or changing software we are dependent on.</bullet> </list> <list> <bullet>Productivity increases - you might loose some when you make the initial tests, but you'll get it back later. The code covered by tests is 'insured' against future changes.</bullet> </list> <list> <bullet>It works well for libraries, not so well for GUI applications.</bullet> </list> <list> <bullet>Some things cannot be tested like server errors</bullet> </list> </slide> http://cvs.php.net/viewvc.cgi/presentations/slides/tdd/case-study-major-players.xml?view=markup&rev=1.1 Index: presentations/slides/tdd/case-study-major-players.xml +++ presentations/slides/tdd/case-study-major-players.xml <?xml version="1.0" encoding="utf-8"?> <slide fontsize="6em"> <title>Case Studies</title> <blurb class="blurb_header">Microsoft Case Study</blurb> <list> <bullet>TDD project has twice the code quality</bullet> <bullet>Writing tests requires 15% more time</bullet> </list> <blurb class="blurb_header">IBM Case Study</blurb> <list> <bullet>40% fewer defects</bullet> <bullet>No impact on the team's productivity</bullet> </list> <blurb class="blurb_header">John Deer / Ericsson Case Study</blurb> <list> <bullet>TDD produces higher quality code</bullet> <bullet>Impact of 16% on the team's productivity</bullet> </list> </slide> http://cvs.php.net/viewvc.cgi/presentations/slides/tdd/no-code-without-test.xml?view=markup&rev=1.1 Index: presentations/slides/tdd/no-code-without-test.xml +++ presentations/slides/tdd/no-code-without-test.xml <?xml version="1.0" encoding="iso-8859-1"?> <slide fontsize="6em"> <title>PHPUnit</title> <subtitle>Code Coverage: No Code Without Test</subtitle> <image align="center" filename="phpunit-code-coverage1.png"/> </slide> http://cvs.php.net/viewvc.cgi/presentations/slides/tdd/no-code-without-test2.xml?view=markup&rev=1.1 Index: presentations/slides/tdd/no-code-without-test2.xml +++ presentations/slides/tdd/no-code-without-test2.xml <?xml version="1.0" encoding="utf-8"?> <slide fontsize="6em"> <title>PHPUnit</title> <subtitle>Code Coverage: No Code Without Test</subtitle> <image align="center" filename="phpunit-code-coverage2.png"/> <break lines="3"/> <blurb class="blurb_header">< 100% Coverage â¡ Not fully tested code</blurb> <blurb class="blurb_header">100% Coverage ⢠Fully tested code</blurb> </slide> http://cvs.php.net/viewvc.cgi/presentations/slides/tdd/not-a-testing-method.xml?view=markup&rev=1.1 Index: presentations/slides/tdd/not-a-testing-method.xml +++ presentations/slides/tdd/not-a-testing-method.xml <?xml version="1.0" encoding="iso-8859-1"?> <slide fontsize="6em"> <title>Test-Driven Development</title> <break lines="10"/> <blurb class="title_blurb">It is not just a method of testing software.</blurb> </slide> http://cvs.php.net/viewvc.cgi/presentations/slides/tdd/phpunit-output.xml?view=markup&rev=1.1 Index: presentations/slides/tdd/phpunit-output.xml +++ presentations/slides/tdd/phpunit-output.xml <?xml version="1.0" encoding="iso-8859-1"?> <slide fontsize="6em"> <title>PHPUnit</title> <subtitle>Unit Testing Framework for PHP</subtitle> <break lines="3"/> <image align="center" filename="phpunit-example1.png"/> </slide> http://cvs.php.net/viewvc.cgi/presentations/slides/tdd/phpunit.xml?view=markup&rev=1.1 Index: presentations/slides/tdd/phpunit.xml +++ presentations/slides/tdd/phpunit.xml <?xml version="1.0" encoding="utf-8"?> <slide template="title" fontsize="6em"> <blurb class="title_blurb">PHP Unit</blurb> </slide> http://cvs.php.net/viewvc.cgi/presentations/slides/tdd/practical-test-driven-development.xml?view=markup&rev=1.1 Index: presentations/slides/tdd/practical-test-driven-development.xml +++ presentations/slides/tdd/practical-test-driven-development.xml <?xml version="1.0" encoding="utf-8"?> <slide fontsize="6em"> <title>Test-Driven Development</title> <subtitle>eZ Components Development</subtitle> <blurb class="blurb_header">Present the Idea</blurb> <blurb class="blurb_header">Write the Requirements Document</blurb> <blurb class="blurb_header">Design the Component</blurb> <blurb class="blurb_header">Implementation</blurb> <list> <bullet>Write API stubs with parameter documentation and descriptions</bullet> <bullet>Write test cases</bullet> <bullet>Initial Implementation</bullet> <bullet>Initial Implementation Review</bullet> <bullet>Updating Implementation according to review</bullet> <bullet>Implementation Review</bullet> </list> <blurb class="blurb_header">Pre-release Testing</blurb> </slide> http://cvs.php.net/viewvc.cgi/presentations/slides/tdd/religion.xml?view=markup&rev=1.1 Index: presentations/slides/tdd/religion.xml +++ presentations/slides/tdd/religion.xml <?xml version="1.0" encoding="utf-8"?> <slide fontsize="6em"> <title>Test-Driven Development</title> <break lines="4"/> <blurb class="title_blurb">It is a religion</blurb> <break lines="2"/> <blurb class="q_mark">â¡ââª</blurb> </slide> http://cvs.php.net/viewvc.cgi/presentations/slides/tdd/resources.xml?view=markup&rev=1.1 Index: presentations/slides/tdd/resources.xml +++ presentations/slides/tdd/resources.xml <?xml version="1.0" encoding="ISO-8859-1"?> <slide fontsize="6em"> <title>Resources</title> <break lines="12" /> <link fontsize="3em" marginleft="2em" leader="These Slides: " href="http://derickrethans.nl/talks.php" target="_new"/> <break lines="3" /> <link fontsize="3em" marginleft="2em" leader="PHP: " href="http://www.php.net" target="_new"/> </slide> http://cvs.php.net/viewvc.cgi/presentations/slides/tdd/tdd.xml?view=markup&rev=1.1 Index: presentations/slides/tdd/tdd.xml +++ presentations/slides/tdd/tdd.xml <?xml version="1.0" encoding="utf-8"?> <slide template="title" fontsize="6em"> <blurb class="title_blurb">Test-Driven Development</blurb> </slide> http://cvs.php.net/viewvc.cgi/presentations/slides/tdd/test-driven-development.xml?view=markup&rev=1.1 Index: presentations/slides/tdd/test-driven-development.xml +++ presentations/slides/tdd/test-driven-development.xml <?xml version="1.0" encoding="utf-8"?> <slide fontsize="6em"> <title>Into the Future</title> <subtitle>Test-Driven Development Phases</subtitle> <blurb class="blurb_header">Requirements Specification</blurb> <blurb>Define what the software is supposed to do.</blurb> <break lines="2"/> <blurb class="blurb_header">Design</blurb> <blurb>Define how the software is supposed to be implemented.</blurb> <break lines="2"/> <blurb class="blurb_header">Implementation â¡ Testing</blurb> <blurb>The implemented software is tested.</blurb> <blurb>The implementation of the software itself.</blurb> </slide> http://cvs.php.net/viewvc.cgi/presentations/slides/tdd/testing.xml?view=markup&rev=1.1 Index: presentations/slides/tdd/testing.xml +++ presentations/slides/tdd/testing.xml <?xml version="1.0" encoding="utf-8"?> <slide template="title" fontsize="6em"> <title>Introduction</title> <blurb class="title_blurb">About Testing</blurb> </slide> http://cvs.php.net/viewvc.cgi/presentations/slides/tdd/the-test-is-king.xml?view=markup&rev=1.1 Index: presentations/slides/tdd/the-test-is-king.xml +++ presentations/slides/tdd/the-test-is-king.xml <?xml version="1.0" encoding="iso-8859-1"?> <slide fontsize="6em"> <title>Tests are King</title> <blurb class="blurb_header">Tests drive the development</blurb> <list> <bullet>Tests are written before the code</bullet> <bullet>There is no code without tests</bullet> </list> <break lines="2"/> <blurb class="blurb_header">Test Suites</blurb> <list> <bullet>Contain tests that check whether the code does what it is supposed to do</bullet> <bullet>Also cover things that should fail</bullet> </list> </slide> http://cvs.php.net/viewvc.cgi/presentations/slides/tdd/title.xml?view=markup&rev=1.1 Index: presentations/slides/tdd/title.xml +++ presentations/slides/tdd/title.xml <slide template="title" fontsize="3.5em"> <blurb class="session-title">:-:title:-:</blurb> <break/> <blurb class="event-date">:-:event:-: - :-:location:-:</blurb> <break/> <blurb class="event-presenter">:-:speaker:-: - dr@ez.no</blurb> <break/> <blurb class="pres-url-small">:-:url:-:</blurb> </slide> http://cvs.php.net/viewvc.cgi/presentations/slides/tdd/unit-test-issues.xml?view=markup&rev=1.1 Index: presentations/slides/tdd/unit-test-issues.xml +++ presentations/slides/tdd/unit-test-issues.xml <?xml version="1.0" encoding="utf-8"?> <slide fontsize="6em"> <title>Un-testable Problems</title> <list> <bullet>Testing singletons more than one time</bullet> <bullet>System/Operating System dependent tests</bullet> <bullet>Private methods</bullet> <bullet>Code that depends on the state of an external resource</bullet> <bullet>Things that simply should never happen</bullet> </list> </slide> http://cvs.php.net/viewvc.cgi/presentations/slides/tdd/unit-testing.xml?view=markup&rev=1.1 Index: presentations/slides/tdd/unit-testing.xml +++ presentations/slides/tdd/unit-testing.xml <?xml version="1.0" encoding="iso-8859-1"?> <slide fontsize="6em"> <title>Testing Methods</title> <blurb class="blurb_header">Unit Testing</blurb> <blurb>Tests small parts of an application of library (units) for correct working of the code. ~*Tools*: PHPUnit, SimpleTest~</blurb> <break lines="2"/> <blurb class="blurb_header">System Testing</blurb> <blurb>The testing of a whole integrated system against the specified requirements. ~*Tools*: Selenium~</blurb> <break lines="2"/> <blurb class="blurb_header">Non-functional Testing</blurb> <blurb>Testing for performance, load, stress, reliability, availability, security. ~*Tools*: ab, siege, httperf, chorizo~</blurb> </slide> http://cvs.php.net/viewvc.cgi/presentations/slides/tdd/webapp-parts-1.xml?view=markup&rev=1.1 Index: presentations/slides/tdd/webapp-parts-1.xml +++ presentations/slides/tdd/webapp-parts-1.xml <?xml version="1.0" encoding="iso-8859-1"?> <slide fontsize="6em"> <title>Web Application Testing</title> <subtitle>Testable Parts</subtitle> <blurb>Front-end</blurb> <list> <bullet>~Acceptance Tests~ and ~System Tests~ that run in the browser</bullet> <bullet>Testing of Web Services with ~Unit Tests~</bullet> <bullet>~Compability Testing~ for Browser/OS/etc. combinations</bullet> <bullet>~Performance Testing~</bullet> <bullet>~Security Testing~</bullet> </list> <blurb>Back-end</blurb> <list> <bullet>~Functional Testing~ of business logic with ~Unit Tests~</bullet> <bullet>Reusable Components, but they often come with their own tests</bullet> </list> </slide>
http://cvs.php.net/viewvc.cgi/presentations/slides/ezc/ez.css?r1=1.2&r2=1.3&diff_format=u Index: presentations/slides/ezc/ez.css diff -u presentations/slides/ezc/ez.css:1.2 presentations/slides/ezc/ez.css:1.3 --- presentations/slides/ezc/ez.css:1.2 Sat May 12 22:23:39 2007 +++ presentations/slides/ezc/ez.css Thu Jun 14 12:32:33 2007 @@ -116,12 +116,18 @@ font-size: 64px; text-align: center; font-weight: bold; + font-family: "MaxOT-book"; } div.small_blurb { font-size: 18px; } +div.blurb_header { + font-family: "MaxOT-book"; + font-size: 40px; +} + div.blurb, div.bit_larger_output_text, div.output { font-size: 24pt; width: 100%; @@ -223,6 +229,12 @@ font-weight: bold; } +div.session-title { + text-align: center; + font-size: 48pt; + font-family: "MaxOT-book"; +} + div.event, div.event-date, div.event-presenter { text-align: center; font-size: 26pt; http://cvs.php.net/viewvc.cgi/presentations/tdd-dpc7.xml?view=markup&rev=1.1 Index: presentations/tdd-dpc7.xml +++ presentations/tdd-dpc7.xml <?xml version="1.0" encoding="utf-8"?> <presentation template="css" navmode="html" navbarbackground="#4373b4" navbartopiclinks="0" navColor="#f1fbff" logo1="" stylesheet="presentations/slides/ezc/ez.css" backgroundfixed="1" > <topic>Testing</topic> <title>Test-Driven Development</title> <event>Dutch PHP Conference</event> <location>Amsterdam, The Netherlands</location> <date>June 16th, 2007</date> <speaker>Derick Rethans</speaker> <email>dr@ez.no</email> <url>http://derickrethans.nl/talks.php</url> <slide>slides/tdd/title.xml</slide> <!-- INTRODUCTION --> <slide>slides/toolbox/me.xml</slide> <!-- TESTING intro: - What needs testing? - Types of testing + tools --> <slide>slides/tdd/testing.xml</slide> <slide>slides/tdd/webapp-parts-1.xml</slide> <slide>slides/tdd/unit-testing.xml</slide> <!-- TDD intro - Development process, not just a test method - It is a religion: â¡â⪠- Traditional development - TDD - when to run tests --> <slide>slides/tdd/tdd.xml</slide> <slide>slides/tdd/not-a-testing-method.xml</slide> <slide>slides/tdd/religion.xml</slide> <slide>slides/tdd/back-in-time.xml</slide> <slide>slides/tdd/the-test-is-king.xml</slide> <slide>slides/tdd/test-driven-development.xml</slide> <slide>slides/tdd/practical-test-driven-development.xml</slide> <slide>slides/tdd/addressing-defects.xml</slide> <!-- Quick php unit example - Quick example - Code coverage - some problems with leaking, system dependent things, can't test private methods, hard to test exceptions - things that should not happen --> <slide>slides/tdd/phpunit.xml</slide> <slide>slides/tdd/phpunit-output.xml</slide> <slide>slides/tdd/no-code-without-test.xml</slide> <slide>slides/tdd/no-code-without-test2.xml</slide> <slide>slides/tdd/unit-test-issues.xml</slide> <!-- TDD case studies --> <slide>slides/tdd/case-studies.xml</slide> <slide>slides/tdd/case-study-major-players.xml</slide> <slide>slides/tdd/case-study-dev-testimonials.xml</slide> <slide>slides/internals/questions.xml</slide> <slide>slides/tdd/resources.xml</slide> </presentation> http://cvs.php.net/viewvc.cgi/presentations/slides/tdd/addressing-defects.xml?view=markup&rev=1.1 Index: presentations/slides/tdd/addressing-defects.xml +++ presentations/slides/tdd/addressing-defects.xml <?xml version="1.0" encoding="utf-8"?> <slide fontsize="6em"> <title>Test-Driven Development</title> <subtitle>Addressing Defects</subtitle> <blurb class="blurb_header">Write Test Case</blurb> <blurb>Write a test case to test the correct behavior of the method, and verify that the test case fails</blurb> <break lines="2"/> <blurb class="blurb_header">Fix the Issue</blurb> <blurb>Fix the implementation</blurb> <break lines="2"/> <blurb class="blurb_header">Verify Fix with Test Case</blurb> <blurb>Make sure that the test cases passes with the new implementation</blurb> <break lines="2"/> <blurb class="blurb_header">Check Other Test Cases</blurb> <blurb>Verify that the fix for this defect did not break any other test case</blurb> </slide> http://cvs.php.net/viewvc.cgi/presentations/slides/tdd/back-in-time.xml?view=markup&rev=1.1 Index: presentations/slides/tdd/back-in-time.xml +++ presentations/slides/tdd/back-in-time.xml <?xml version="1.0" encoding="iso-8859-1"?> <slide fontsize="6em"> <title>Back In Time</title> <subtitle>Traditional Development Phases</subtitle> <blurb class="blurb_header">Requirements Specification</blurb> <blurb>Define what the software is supposed to do.</blurb> <break lines="2"/> <blurb class="blurb_header">Design</blurb> <blurb>Define how the software is supposed to be implemented.</blurb> <break lines="2"/> <blurb class="blurb_header">Implementation</blurb> <blurb>The implementation of the software itself.</blurb> <break lines="2"/> <blurb class="blurb_header">Testing</blurb> <blurb>The implemented software is tested.</blurb> <div effect="hide"> <blurb>Sometimes.</blurb> </div> </slide> http://cvs.php.net/viewvc.cgi/presentations/slides/tdd/case-studies.xml?view=markup&rev=1.1 Index: presentations/slides/tdd/case-studies.xml +++ presentations/slides/tdd/case-studies.xml <?xml version="1.0" encoding="utf-8"?> <slide template="title" fontsize="6em"> <blurb class="title_blurb">Case Studies</blurb> </slide> http://cvs.php.net/viewvc.cgi/presentations/slides/tdd/case-study-dev-testimonials.xml?view=markup&rev=1.1 Index: presentations/slides/tdd/case-study-dev-testimonials.xml +++ presentations/slides/tdd/case-study-dev-testimonials.xml <?xml version="1.0" encoding="utf-8"?> <slide fontsize="6em"> <title>Case Studies</title> <subtitle>Developer Comments</subtitle> <list> <bullet>At first I didn't like that I need to write tests for my code, but now after using it for more than 10 months I can't program without it.</bullet> </list> <list> <bullet>Helps to come up with better APIs.</bullet> </list> <list> <bullet>It gives confidence that our software is working well at all times. Even after making major changes and/or changing software we are dependent on.</bullet> </list> <list> <bullet>Productivity increases - you might loose some when you make the initial tests, but you'll get it back later. The code covered by tests is 'insured' against future changes.</bullet> </list> <list> <bullet>It works well for libraries, not so well for GUI applications.</bullet> </list> <list> <bullet>Some things cannot be tested like server errors</bullet> </list> </slide> http://cvs.php.net/viewvc.cgi/presentations/slides/tdd/case-study-major-players.xml?view=markup&rev=1.1 Index: presentations/slides/tdd/case-study-major-players.xml +++ presentations/slides/tdd/case-study-major-players.xml <?xml version="1.0" encoding="utf-8"?> <slide fontsize="6em"> <title>Case Studies</title> <blurb class="blurb_header">Microsoft Case Study</blurb> <list> <bullet>TDD project has twice the code quality</bullet> <bullet>Writing tests requires 15% more time</bullet> </list> <blurb class="blurb_header">IBM Case Study</blurb> <list> <bullet>40% fewer defects</bullet> <bullet>No impact on the team's productivity</bullet> </list> <blurb class="blurb_header">John Deer / Ericsson Case Study</blurb> <list> <bullet>TDD produces higher quality code</bullet> <bullet>Impact of 16% on the team's productivity</bullet> </list> </slide> http://cvs.php.net/viewvc.cgi/presentations/slides/tdd/no-code-without-test.xml?view=markup&rev=1.1 Index: presentations/slides/tdd/no-code-without-test.xml +++ presentations/slides/tdd/no-code-without-test.xml <?xml version="1.0" encoding="iso-8859-1"?> <slide fontsize="6em"> <title>PHPUnit</title> <subtitle>Code Coverage: No Code Without Test</subtitle> <image align="center" filename="phpunit-code-coverage1.png"/> </slide> http://cvs.php.net/viewvc.cgi/presentations/slides/tdd/no-code-without-test2.xml?view=markup&rev=1.1 Index: presentations/slides/tdd/no-code-without-test2.xml +++ presentations/slides/tdd/no-code-without-test2.xml <?xml version="1.0" encoding="utf-8"?> <slide fontsize="6em"> <title>PHPUnit</title> <subtitle>Code Coverage: No Code Without Test</subtitle> <image align="center" filename="phpunit-code-coverage2.png"/> <break lines="3"/> <blurb class="blurb_header">< 100% Coverage â¡ Not fully tested code</blurb> <blurb class="blurb_header">100% Coverage ⢠Fully tested code</blurb> </slide> http://cvs.php.net/viewvc.cgi/presentations/slides/tdd/not-a-testing-method.xml?view=markup&rev=1.1 Index: presentations/slides/tdd/not-a-testing-method.xml +++ presentations/slides/tdd/not-a-testing-method.xml <?xml version="1.0" encoding="iso-8859-1"?> <slide fontsize="6em"> <title>Test-Driven Development</title> <break lines="10"/> <blurb class="title_blurb">It is not just a method of testing software.</blurb> </slide> http://cvs.php.net/viewvc.cgi/presentations/slides/tdd/phpunit-output.xml?view=markup&rev=1.1 Index: presentations/slides/tdd/phpunit-output.xml +++ presentations/slides/tdd/phpunit-output.xml <?xml version="1.0" encoding="iso-8859-1"?> <slide fontsize="6em"> <title>PHPUnit</title> <subtitle>Unit Testing Framework for PHP</subtitle> <break lines="3"/> <image align="center" filename="phpunit-example1.png"/> </slide> http://cvs.php.net/viewvc.cgi/presentations/slides/tdd/phpunit.xml?view=markup&rev=1.1 Index: presentations/slides/tdd/phpunit.xml +++ presentations/slides/tdd/phpunit.xml <?xml version="1.0" encoding="utf-8"?> <slide template="title" fontsize="6em"> <blurb class="title_blurb">PHP Unit</blurb> </slide> http://cvs.php.net/viewvc.cgi/presentations/slides/tdd/practical-test-driven-development.xml?view=markup&rev=1.1 Index: presentations/slides/tdd/practical-test-driven-development.xml +++ presentations/slides/tdd/practical-test-driven-development.xml <?xml version="1.0" encoding="utf-8"?> <slide fontsize="6em"> <title>Test-Driven Development</title> <subtitle>eZ Components Development</subtitle> <blurb class="blurb_header">Present the Idea</blurb> <blurb class="blurb_header">Write the Requirements Document</blurb> <blurb class="blurb_header">Design the Component</blurb> <blurb class="blurb_header">Implementation</blurb> <list> <bullet>Write API stubs with parameter documentation and descriptions</bullet> <bullet>Write test cases</bullet> <bullet>Initial Implementation</bullet> <bullet>Initial Implementation Review</bullet> <bullet>Updating Implementation according to review</bullet> <bullet>Implementation Review</bullet> </list> <blurb class="blurb_header">Pre-release Testing</blurb> </slide> http://cvs.php.net/viewvc.cgi/presentations/slides/tdd/religion.xml?view=markup&rev=1.1 Index: presentations/slides/tdd/religion.xml +++ presentations/slides/tdd/religion.xml <?xml version="1.0" encoding="utf-8"?> <slide fontsize="6em"> <title>Test-Driven Development</title> <break lines="4"/> <blurb class="title_blurb">It is a religion</blurb> <break lines="2"/> <blurb class="q_mark">â¡ââª</blurb> </slide> http://cvs.php.net/viewvc.cgi/presentations/slides/tdd/resources.xml?view=markup&rev=1.1 Index: presentations/slides/tdd/resources.xml +++ presentations/slides/tdd/resources.xml <?xml version="1.0" encoding="ISO-8859-1"?> <slide fontsize="6em"> <title>Resources</title> <break lines="12" /> <link fontsize="3em" marginleft="2em" leader="These Slides: " href="http://derickrethans.nl/talks.php" target="_new"/> <break lines="3" /> <link fontsize="3em" marginleft="2em" leader="PHP: " href="http://www.php.net" target="_new"/> </slide> http://cvs.php.net/viewvc.cgi/presentations/slides/tdd/tdd.xml?view=markup&rev=1.1 Index: presentations/slides/tdd/tdd.xml +++ presentations/slides/tdd/tdd.xml <?xml version="1.0" encoding="utf-8"?> <slide template="title" fontsize="6em"> <blurb class="title_blurb">Test-Driven Development</blurb> </slide> http://cvs.php.net/viewvc.cgi/presentations/slides/tdd/test-driven-development.xml?view=markup&rev=1.1 Index: presentations/slides/tdd/test-driven-development.xml +++ presentations/slides/tdd/test-driven-development.xml <?xml version="1.0" encoding="utf-8"?> <slide fontsize="6em"> <title>Into the Future</title> <subtitle>Test-Driven Development Phases</subtitle> <blurb class="blurb_header">Requirements Specification</blurb> <blurb>Define what the software is supposed to do.</blurb> <break lines="2"/> <blurb class="blurb_header">Design</blurb> <blurb>Define how the software is supposed to be implemented.</blurb> <break lines="2"/> <blurb class="blurb_header">Implementation â¡ Testing</blurb> <blurb>The implemented software is tested.</blurb> <blurb>The implementation of the software itself.</blurb> </slide> http://cvs.php.net/viewvc.cgi/presentations/slides/tdd/testing.xml?view=markup&rev=1.1 Index: presentations/slides/tdd/testing.xml +++ presentations/slides/tdd/testing.xml <?xml version="1.0" encoding="utf-8"?> <slide template="title" fontsize="6em"> <title>Introduction</title> <blurb class="title_blurb">About Testing</blurb> </slide> http://cvs.php.net/viewvc.cgi/presentations/slides/tdd/the-test-is-king.xml?view=markup&rev=1.1 Index: presentations/slides/tdd/the-test-is-king.xml +++ presentations/slides/tdd/the-test-is-king.xml <?xml version="1.0" encoding="iso-8859-1"?> <slide fontsize="6em"> <title>Tests are King</title> <blurb class="blurb_header">Tests drive the development</blurb> <list> <bullet>Tests are written before the code</bullet> <bullet>There is no code without tests</bullet> </list> <break lines="2"/> <blurb class="blurb_header">Test Suites</blurb> <list> <bullet>Contain tests that check whether the code does what it is supposed to do</bullet> <bullet>Also cover things that should fail</bullet> </list> </slide> http://cvs.php.net/viewvc.cgi/presentations/slides/tdd/title.xml?view=markup&rev=1.1 Index: presentations/slides/tdd/title.xml +++ presentations/slides/tdd/title.xml <slide template="title" fontsize="3.5em"> <blurb class="session-title">:-:title:-:</blurb> <break/> <blurb class="event-date">:-:event:-: - :-:location:-:</blurb> <break/> <blurb class="event-presenter">:-:speaker:-: - dr@ez.no</blurb> <break/> <blurb class="pres-url-small">:-:url:-:</blurb> </slide> http://cvs.php.net/viewvc.cgi/presentations/slides/tdd/unit-test-issues.xml?view=markup&rev=1.1 Index: presentations/slides/tdd/unit-test-issues.xml +++ presentations/slides/tdd/unit-test-issues.xml <?xml version="1.0" encoding="utf-8"?> <slide fontsize="6em"> <title>Un-testable Problems</title> <list> <bullet>Testing singletons more than one time</bullet> <bullet>System/Operating System dependent tests</bullet> <bullet>Private methods</bullet> <bullet>Code that depends on the state of an external resource</bullet> <bullet>Things that simply should never happen</bullet> </list> </slide> http://cvs.php.net/viewvc.cgi/presentations/slides/tdd/unit-testing.xml?view=markup&rev=1.1 Index: presentations/slides/tdd/unit-testing.xml +++ presentations/slides/tdd/unit-testing.xml <?xml version="1.0" encoding="iso-8859-1"?> <slide fontsize="6em"> <title>Testing Methods</title> <blurb class="blurb_header">Unit Testing</blurb> <blurb>Tests small parts of an application of library (units) for correct working of the code. ~*Tools*: PHPUnit, SimpleTest~</blurb> <break lines="2"/> <blurb class="blurb_header">System Testing</blurb> <blurb>The testing of a whole integrated system against the specified requirements. ~*Tools*: Selenium~</blurb> <break lines="2"/> <blurb class="blurb_header">Non-functional Testing</blurb> <blurb>Testing for performance, load, stress, reliability, availability, security. ~*Tools*: ab, siege, httperf, chorizo~</blurb> </slide> http://cvs.php.net/viewvc.cgi/presentations/slides/tdd/webapp-parts-1.xml?view=markup&rev=1.1 Index: presentations/slides/tdd/webapp-parts-1.xml +++ presentations/slides/tdd/webapp-parts-1.xml <?xml version="1.0" encoding="iso-8859-1"?> <slide fontsize="6em"> <title>Web Application Testing</title> <subtitle>Testable Parts</subtitle> <blurb>Front-end</blurb> <list> <bullet>~Acceptance Tests~ and ~System Tests~ that run in the browser</bullet> <bullet>Testing of Web Services with ~Unit Tests~</bullet> <bullet>~Compability Testing~ for Browser/OS/etc. combinations</bullet> <bullet>~Performance Testing~</bullet> <bullet>~Security Testing~</bullet> </list> <blurb>Back-end</blurb> <list> <bullet>~Functional Testing~ of business logic with ~Unit Tests~</bullet> <bullet>Reusable Components, but they often come with their own tests</bullet> </list> </slide>