cvs: presentations / tdd-zendcon8.xml /slides/ezc ez.css /slides/tdd case-study-dev-testimonials.xml darth-sb.xml darth.xml death-star.jpg
death-star.xml no-code-without-test2.xml no-code-without-test3.xml phpunit-code-coverage1.png phpunit-code-coverage2.png phpunit-example1.png
politics-managers.xml resources.xml testuvius.xml

From: Date: Mon, 08 Sep 2008 09:32:47 +0000
Subject: cvs: presentations / tdd-zendcon8.xml /slides/ezc ez.css /slides/tdd case-study-dev-testimonials.xml darth-sb.xml darth.xml death-star.jpg
death-star.xml no-code-without-test2.xml no-code-without-test3.xml phpunit-code-coverage1.png phpunit-code-coverage2.png phpunit-example1.png
politics-managers.xml resources.xml testuvius.xml
Groups: php.pres 
Request: Send a blank email to pres+get-1498@lists.php.net to get a copy of this message
derick Mon Sep 8 09:32:47 2008 UTC Added files: /presentations tdd-zendcon8.xml /presentations/slides/tdd death-star.jpg death-star.xml no-code-without-test3.xml testuvius.xml Modified files: /presentations/slides/ezc ez.css /presentations/slides/tdd case-study-dev-testimonials.xml darth-sb.xml darth.xml no-code-without-test2.xml phpunit-code-coverage1.png phpunit-code-coverage2.png phpunit-example1.png politics-managers.xml resources.xml Log: - Adding my first zendcon talk.

http://cvs.php.net/viewvc.cgi/presentations/slides/ezc/ez.css?r1=1.5&r2=1.6&diff_format=u Index: presentations/slides/ezc/ez.css diff -u presentations/slides/ezc/ez.css:1.5 presentations/slides/ezc/ez.css:1.6 --- presentations/slides/ezc/ez.css:1.5 Tue Oct 30 09:59:03 2007 +++ presentations/slides/ezc/ez.css Mon Sep 8 09:32:47 2008 @@ -12,6 +12,13 @@ font-family: Arial, helvetica, sans-serif; } +body.black +{ + background-image: none; + background-attachment: fixed; + background-repeat: no-repeat; +} + body.title { background-image: url(presentations/slides/ezc/ez-background-title.jpg); @@ -80,7 +87,20 @@ top: 0px; padding-left: 24px; background-color: black; + margin-top: 0px; + padding-top: 0px; + width: 100%; + height: 100%; + overflow: auto; + overflow: -moz-scrollbars-vertical; } + +body.black div.sticky, body.black div.navbar +{ + display: none; + visibility: hidden; +} + ul.pres { list-style: circle; font-size: 24px; http://cvs.php.net/viewvc.cgi/presentations/slides/tdd/case-study-dev-testimonials.xml?r1=1.1&r2=1.2&diff_format=u Index: presentations/slides/tdd/case-study-dev-testimonials.xml diff -u presentations/slides/tdd/case-study-dev-testimonials.xml:1.1 presentations/slides/tdd/case-study-dev-testimonials.xml:1.2 --- presentations/slides/tdd/case-study-dev-testimonials.xml:1.1 Thu Jun 14 12:32:33 2007 +++ presentations/slides/tdd/case-study-dev-testimonials.xml Mon Sep 8 09:32:47 2008 @@ -26,6 +26,7 @@ applications.</bullet> </list> <list> - <bullet>Some things cannot be tested like server errors</bullet> + <bullet>Some things cannot be tested like server errors, unless you use + mock-objects.</bullet> </list> </slide> http://cvs.php.net/viewvc.cgi/presentations/slides/tdd/darth-sb.xml?r1=1.1&r2=1.2&diff_format=u Index: presentations/slides/tdd/darth-sb.xml diff -u presentations/slides/tdd/darth-sb.xml:1.1 presentations/slides/tdd/darth-sb.xml:1.2 --- presentations/slides/tdd/darth-sb.xml:1.1 Mon Feb 25 13:11:02 2008 +++ presentations/slides/tdd/darth-sb.xml Mon Sep 8 09:32:47 2008 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="utf-8"?> -<slide fontsize="6em"> +<slide template="black"> <title>&#160;</title> <image align="center" filename="darth-sb.jpg"/> http://cvs.php.net/viewvc.cgi/presentations/slides/tdd/darth.xml?r1=1.1&r2=1.2&diff_format=u Index: presentations/slides/tdd/darth.xml diff -u presentations/slides/tdd/darth.xml:1.1 presentations/slides/tdd/darth.xml:1.2 --- presentations/slides/tdd/darth.xml:1.1 Mon Feb 25 13:11:02 2008 +++ presentations/slides/tdd/darth.xml Mon Sep 8 09:32:47 2008 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="utf-8"?> -<slide fontsize="6em"> +<slide template="black"> <title>&#160;</title> <image align="center" filename="darth.jpg"/> http://cvs.php.net/viewvc.cgi/presentations/slides/tdd/no-code-without-test2.xml?r1=1.1&r2=1.2&diff_format=u Index: presentations/slides/tdd/no-code-without-test2.xml diff -u presentations/slides/tdd/no-code-without-test2.xml:1.1 presentations/slides/tdd/no-code-without-test2.xml:1.2 --- presentations/slides/tdd/no-code-without-test2.xml:1.1 Thu Jun 14 12:32:33 2007 +++ presentations/slides/tdd/no-code-without-test2.xml Mon Sep 8 09:32:47 2008 @@ -5,7 +5,9 @@ <image align="center" filename="phpunit-code-coverage2.png"/> <break lines="3"/> - <blurb class="blurb_header">&lt; 100% Coverage ≡ Not fully tested code</blurb> - <blurb class="blurb_header">100% Coverage ≢ Fully tested code</blurb> + <blurb>Green: Covered code.</blurb> + <blurb>Red: Not covered code.</blurb> + <blurb>Grey: Unreachable code.</blurb> + <blurb>White: No code.</blurb> </slide> http://cvs.php.net/viewvc.cgi/presentations/slides/tdd/phpunit-code-coverage1.png?r1=1.1&r2=1.2&diff_format=u Index: presentations/slides/tdd/phpunit-code-coverage1.png http://cvs.php.net/viewvc.cgi/presentations/slides/tdd/phpunit-code-coverage2.png?r1=1.1&r2=1.2&diff_format=u Index: presentations/slides/tdd/phpunit-code-coverage2.png http://cvs.php.net/viewvc.cgi/presentations/slides/tdd/phpunit-example1.png?r1=1.1&r2=1.2&diff_format=u Index: presentations/slides/tdd/phpunit-example1.png http://cvs.php.net/viewvc.cgi/presentations/slides/tdd/politics-managers.xml?r1=1.1&r2=1.2&diff_format=u Index: presentations/slides/tdd/politics-managers.xml diff -u presentations/slides/tdd/politics-managers.xml:1.1 presentations/slides/tdd/politics-managers.xml:1.2 --- presentations/slides/tdd/politics-managers.xml:1.1 Tue Oct 30 09:59:03 2007 +++ presentations/slides/tdd/politics-managers.xml Mon Sep 8 09:32:47 2008 @@ -7,5 +7,7 @@ <bullet>Out of date with modern processes</bullet> <bullet>Belief that testing slows the schedule (only if you follow the ship-and-see process)</bullet> + <bullet>You save time later, because you wouldn't have to re-test or + re-debug newly written additions or big fixes.</bullet> </list> </slide> http://cvs.php.net/viewvc.cgi/presentations/slides/tdd/resources.xml?r1=1.2&r2=1.3&diff_format=u Index: presentations/slides/tdd/resources.xml diff -u presentations/slides/tdd/resources.xml:1.2 presentations/slides/tdd/resources.xml:1.3 --- presentations/slides/tdd/resources.xml:1.2 Thu Apr 10 09:03:16 2008 +++ presentations/slides/tdd/resources.xml Mon Sep 8 09:32:47 2008 @@ -2,7 +2,11 @@ <slide fontsize="6em"> <title>Resources</title> - <break lines="12" /> + <break lines="6" /> + <link href="http://homepage.mac.com/hey.you/lessons.html"/> + <link leader="Testuvius: " href="http://www.artima.com/weblogs/viewpost.jsp?thread=203994"/> + + <break lines="6" /> <link leader="PHP Unit: " href="http://phpunit.de" target="_new"/> <link leader="phpUnderControl: " href="http://phpundercontrol.org" target="_new"/> <link leader="Xdebug: " href="http://xdebug.org" target="_new"/> http://cvs.php.net/viewvc.cgi/presentations/tdd-zendcon8.xml?view=markup&rev=1.1 Index: presentations/tdd-zendcon8.xml +++ presentations/tdd-zendcon8.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>Zend PHP Conference</event> <location>Santa Clara, US</location> <date>Sept 16th, 2008</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> <!-- Funny Intro --> <slide>slides/tdd/broken-code-is-fine.xml</slide> <slide>slides/tdd/dont-ship.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/darth.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> <slide>slides/tdd/testuvius.xml</slide> <slide>slides/tdd/death-star.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/no-code-without-test3.xml</slide> <slide>slides/tdd/phpundercontrol.xml</slide> <slide>slides/tdd/unit-test-issues.xml</slide> <!-- Politics --> <slide>slides/tdd/politics.xml</slide> <slide>slides/tdd/politics-devs.xml</slide> <slide>slides/tdd/politics-managers.xml</slide> <slide>slides/tdd/darth-sb.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/death-star.xml?view=markup&rev=1.1 Index: presentations/slides/tdd/death-star.xml +++ presentations/slides/tdd/death-star.xml <?xml version="1.0" encoding="utf-8"?> <slide template="black"> <title>&#160;</title> <image align="center" filename="death-star.jpg"/> </slide> http://cvs.php.net/viewvc.cgi/presentations/slides/tdd/no-code-without-test3.xml?view=markup&rev=1.1 Index: presentations/slides/tdd/no-code-without-test3.xml +++ presentations/slides/tdd/no-code-without-test3.xml <?xml version="1.0" encoding="utf-8"?> <slide fontsize="6em"> <title>PHPUnit</title> <subtitle>Code Coverage: How important?</subtitle> <blurb class="blurb_header">&lt; 100% Coverage ≡ Not fully tested code</blurb> <blurb class="blurb_header">100% Coverage ≢ Fully tested code</blurb> <break lines="3"/> <blurb class="blurb_header">How much coverage should you aim for?</blurb> <list> <bullet>It doesn't matter, just write some tests.</bullet> <bullet>How much rice do I need to cook?</bullet> <bullet>100%, and no less!</bullet> </list> <break lines="3"/> <blurb class='quote_attr'>http://www.developertesting.com/archives/month200705/20070504-000425.html</blurb> </slide> http://cvs.php.net/viewvc.cgi/presentations/slides/tdd/testuvius.xml?view=markup&rev=1.1 Index: presentations/slides/tdd/testuvius.xml +++ presentations/slides/tdd/testuvius.xml <?xml version="1.0" encoding="utf-8"?> <slide fontsize="6em"> <title>The Way of Testivus</title> <list> <bullet>If you write code, write tests.</bullet> <bullet>Don’t get stuck on unit testing dogma.</bullet> <bullet>Embrace unit testing karma.</bullet> <bullet>Think of code and test as one.</bullet> <bullet>The test is more important than the unit.</bullet> <bullet>The best time to test is when the code is fresh.</bullet> <bullet>Tests not run waste away.</bullet> <bullet>An imperfect test today is better than a perfect test someday.</bullet> <bullet>An ugly test is better than no test.</bullet> <bullet>Sometimes, the test justifies the means.</bullet> <bullet>Only fools use no tools.</bullet> <bullet>Good tests fail.</bullet> </list> <blurb class="quote_attr">http://www.artima.com/weblogs/viewpost.jsp?thread=203994</blurb> </slide>
« previous php.pres (#1498) next »