285
I Use This!
Very High Activity

News

Analyzed 12 days ago. based on code collected 12 days ago.
Posted over 18 years ago by [email protected] (Sebastian Bergmann)
Derick recently committed a patch that improves the performance of code coverage data collection in Xdebug . Xdebug 2.0.0: Workflow: ezcWorkflowDefinitionStorageXmlTest: .............................................. ... [More] ezcWorkflowExecutionTest: ................................................. ezcWorkflowTest: ..................... ezcWorkflowNodeTest: ..................... ezcWorkflowConditionTest: ......................... ezcWorkflowVisitorVisualizationTest: ................. WorkflowDatabaseTiein: ezcWorkflowDatabaseTieinDefinitionTest: .............. ezcWorkflowDatabaseTieinExecutionTest: .... WorkflowEventLogTiein: ezcWorkflowEventLogTieinListenerTest: ...................... Time: 02:15 OK (219 tests) Xdebug 2.0.1-dev: Workflow: ezcWorkflowDefinitionStorageXmlTest: .............................................. ezcWorkflowExecutionTest: ................................................. ezcWorkflowTest: ..................... ezcWorkflowNodeTest: ..................... ezcWorkflowConditionTest: ......................... ezcWorkflowVisitorVisualizationTest: ................. WorkflowDatabaseTiein: ezcWorkflowDatabaseTieinDefinitionTest: .............. ezcWorkflowDatabaseTieinExecutionTest: .... WorkflowEventLogTiein: ezcWorkflowEventLogTieinListenerTest: ...................... Time: 12 seconds OK (219 tests) This makes PHPUnit 's code coverage functionality so much more practical to use. [Less]
Posted over 18 years ago by [email protected] (Sebastian Bergmann)
Starting with version 3.2, PHPUnit has support for TestNG -style data providers: assertEquals ( $c ,   $a     $b ) ;      } } ?> The method specified by the @dataProvider annotation returns an array or an ... [More] Iterator object that contain argument arrays. For each of these arrays a test object is created that will run the test method with the argument from the array: sb@vmware ~ % phpunit DataTest PHPUnit 3.2.0-dev by Sebastian Bergmann. ...F Time: 0 seconds There was 1 failure: 1) testAdd(DataTest) with data (1, 1, 3) Failed asserting that matches expected value . /home/sb/DataTest.php:21 FAILURES! Tests: 4, Failures: 1. [Less]
Posted over 18 years ago by [email protected] (Sebastian Bergmann)
Here is the presentation material I used during my presentation on PHPUnit at php|works 2007 today:
Posted over 18 years ago by [email protected] (Sebastian Bergmann)
Here is the presentation material I used during my tutorial at php|works 2007 yesterday:
Posted over 18 years ago by [email protected] (Sebastian Bergmann)
Starting with version 3.2, PHPUnit has support for TestNG -style @group ing of tests: You can select a test group from a test suite using --group with the TextUI test runner: sb@vmware ~ % phpunit --group a TestTest PHPUnit ... [More] 3.2.0-dev by Sebastian Bergmann. .. Time: 0 seconds OK (2 tests) sb@vmware ~ % phpunit --group b TestTest PHPUnit 3.2.0-dev by Sebastian Bergmann. . Time: 0 seconds OK (1 test) [Less]
Posted over 18 years ago by [email protected] (Sebastian Bergmann)
The videos from last weekend's Google Test Automation Conference are now online. As I could not be there (because my proposal and application got lost), I am really thankfull for being able to watch the conference's great presentations now. Let's hope that I can make it to India next year for GTAC08.
Posted over 18 years ago by [email protected] (Sebastian Bergmann)
Last weekend saw the second installment of the Free and Open Source Software Conference (FrOSCon) in Sankt Augustin . The conference revolved around a rich schedule of talks, highlighting current topics in Free Software and Open Source . ... [More] Moreover, Open Source projects took the opportunity to organize their own meetings or even their own lineup of events. Just like last year, the PHP usergroups of Dortmund and Cologne / Bonn organized the PHP @ FrOSCon subconference with two full days of presentations. For me, Sankt Augustin is conveniently located near to my hometown of Siegburg and so FrOSCon started for me on Friday night with greeting Giuseppe, Markus, Roland, and Beat from MySQL in Sankt Augustin for dinner. After dinner we made a quick excursion to Siegburg for the annual town fair that took place here over the weekend. On Saturday, the first conference day, I attended a couple of talks (that I, apart from Arne's and Carola's presentation on XUL, don't remember). In the evening I attended the keysigning party before we headed out to Siegburg for dinner and another stroll over the town fair. On Sunday, the second day of the conference, Tobias Schlitt arrived in Sankt Augustin and together we took care of the server that runs phpunit.de . In the afternoon, I gave my presentation on PHPUnit which was well received. In the evening, we headed out to Cologne for dinner at a Brazilian restaurant were we enjoyed rodizio . Afterwards we walked to the Dom , took some pictures, and had some ice cream for dessert. [Less]
Posted over 18 years ago by [email protected] (Sebastian Bergmann)
phpunit.de is back online. I think Tobias , on whose server the site runs, will share some information about what went wrong with the server while he was on vacation on his blog soon.
Posted over 18 years ago by [email protected] (Sebastian Bergmann)
Version 3.2 of PHPUnit is shaping up nicely. In this blog posting I want to highlight the improvements to SeleniumTestCase , PHPUnit's extension for Selenium . Probably the most important improvement to SeleniumTestCase is the fact that ... [More] you can now run each test using a set of browsers instead of just one browser:   'Firefox on Linux' ,          'browser'   =>   '*firefox /usr/lib/firefox/firefox-bin' ,          'host'      =>   'my.linux.box' ,          'port'      =>   4444 ,          'timeout'   =>   30000 ,        ) ,        array (          'name'      =>   'Safari on MacOS X' ,          'browser'   =>   '*safari' ,          'host'      =>   'my.macosx.box' ,          'port'      =>   4444 ,          'timeout'   =>   30000 ,        ) ,        array (          'name'      =>   'Internet Explorer on Windows XP' ,          'browser'   =>   '*iexplore' ,          'host'      =>   'my.windowsxp.box' ,          'port'      =>   4444 ,          'timeout'   =>   30000 ,        )      ) ;        protected   function   setUp ( )      {          $this -> setBrowserUrl ( 'http://www.example.com/' ) ;      }        public   function   testTitle ( )      {          $this -> open ( 'http://www.example.com/' ) ;          $this -> assertTitleEquals ( 'Example Web Page' ) ;      } } ?> In the above example, the test declared in the testTitle() method will be run three times: once using Firefox on Linux, once using Safari on MacOS X, and once using Internet Explorer on Windows XP. Other improvements to SeleniumTestCase include more robust error handling and better error messages. [Less]
Posted over 18 years ago by [email protected] (Sebastian Bergmann)
Viewtier Systems is looking for testers of their new support for PHPUnit in their Parabuild software build and release management system. I am excited that a company such as Viewtier Systems realizes that there is a market for their ... [More] product in the PHP space and adapts their tool to work well with existing tools such as PHPUnit in that space. [Less]