Menu

#26 execute PHPUnit

open
None
5
2010-04-14
2010-04-14
Anonymous
No

Try to execute de test

Error: No test case / test suite found for file test/unit/lXXXX/ZZZZZTest.php

code

require_once 'PHPUnit/Framework.php';

class ZZZZZTest extends PHPUnit_Framework_TestCase {
/**
* @var
*/
protected $object;

/**
* Sets up the fixture, for example, opens a network connection.
* This method is called before a test is executed.
*/
protected function setUp() {
$this->object = new ZZZZZ;
}

...

Thanks!

Discussion

  • Sven Kiera

    Sven Kiera - 2010-04-14
    • assigned_to: nobody --> skiera
     
  • Sven Kiera

    Sven Kiera - 2010-04-27

    Hi,

    sorry for my late reply. I tested your example and it works. Can your give me a copy of your files?

    Sven

     

Log in to post a comment.