DrupalCon Copenhagen August 23-27 2010 - testing http://cph2010.drupal.org/taxonomy/term/8503/0 en Use SimpleTest! http://cph2010.drupal.org/sessions/use-simpletest <div class="field-session-type"> <span>Type:&nbsp;</span> Session in official program </div> <div class="field-session-day"> <span>Day:&nbsp;</span> Wednesday, 25. august 2010 </div> <div class="field-session-time"> <span>Time:&nbsp;</span> 17:15-18:00 </div> <div class="field-session-room"> 12 Trellon </div> <div class="field-text-teaser"> <p>In this session I want to show you how you can test your modules and make them more reliable than they ever where! Testing rocks! And Drupal has a nice way to do this with SimpleTest. Additionaly we take a quick look at selenium and what we can do with it.</p> </div> <div class="field-session-duration"> 45 minutes (+15 minutes Q&amp;A) </div> <div class="field-main-image"> <img class="imagefield imagefield-field_main_image" width="927" height="651" alt="" src="http://cph2010.drupal.org/sites/all/files/simpletest-mockup.jpg?1276950832" /> </div> <div class="field-text-image"> Testing with simpletest rocks! </div> <p>The first time I was forced to create a test for a core patch I wanted in D7 I really hated it. But now some months and some pain later I can say it was worth it.</p> <p>Testing makes our modules more reliable. Even if we have todo a lot of work at start creating a test later on we will spend less time on debugging stuff. Even if our module ceases to work correctly we will be quicker at finding the problem.</p> <p>Let us take a look how we create tests for our modules by using simpletest. It's easier than it looks and I will help you getting into it! :)</p> <p>My session will cover:</p> <div class="field-session-presenters"> <span>Additional Presenters:&nbsp;</span> <a href="/attendees/karsten-frohwein">Karsten Frohwein</a> </div> <div class="field-session-resources"> <span>Resources:&nbsp;</span> <a href="http://www.comm-press.de/en/blog/simple-test-drupal">Knowledge base and slides (english)</a> <a href="http://www.comm-press.de/blog/simple-test-mit-drupal">Knowledge base and slides (german)</a> </div> <p><a href="http://cph2010.drupal.org/sessions/use-simpletest" target="_blank">read more</a></p> http://cph2010.drupal.org/sessions/use-simpletest#comments Developer Code & Development Intermediate selenium simpletest testing Sat, 19 Jun 2010 12:50:57 +0000 Kars-T 9333 at http://cph2010.drupal.org Pro-active Selenium testing with Drupal http://cph2010.drupal.org/sessions/pro-active-selenium-testing-drupal <div class="field-session-type"> <span>Type:&nbsp;</span> Not planned session </div> <div class="field-text-teaser"> <p>Want to get robust tests for your site running NOW, but don't know how? Selenium needs no PHP or Drupal chops and you can write tests by just clicking around the site.</p> </div> <div class="field-session-duration"> 5 minutes (lightning talk) </div> <div class="field-main-image"> <img class="imagefield imagefield-field_main_image" width="700" height="210" alt="" src="http://cph2010.drupal.org/sites/all/files/drupal_selenium.png?1276874394" /> </div> <div class="field-text-image"> Druplicon takes his selenium supplements twice daily. Do *you*? </div> <p>Selenium is a testing framework which allows anyone - developers, designers, project managers or the client - to record user journeys in their browser and have those user journeys be replayable on anyone else's browser. It also supports whole suites of tests, automating in the browser and automating outside the browser using a dedicated testing server.</p> <p>Selenium's a great choice for Drupal testing because so much of the functionality you or your client will want to build is browser-based. Also, with a few extra tweaks, Drupal can integrate very nicely with Selenium to produce robust tests.</p> <p><a href="http://cph2010.drupal.org/sessions/pro-active-selenium-testing-drupal" target="_blank">read more</a></p> http://cph2010.drupal.org/sessions/pro-active-selenium-testing-drupal#comments Curious Decision Maker Project Manager Designer Developer Themer Theming, Design & Usability Beginner Intermediate browser continuous framework javascript testing Fri, 18 Jun 2010 15:21:06 +0000 jp.stacey 9188 at http://cph2010.drupal.org