PHPUnit bug or feature?

From: Date: Fri, 14 Mar 2003 16:05:30 +0000
Subject: PHPUnit bug or feature?
Groups: php.pear.general 
Request: Send a blank email to pear-general+get-4245@lists.php.net to get a copy of this message
when calling assert*() twice within one test-method then this is only counted as one test. Is that right? Should it not be two tests? i.e. function testThis() { .... $this->assertEquals(3,$user->getCount()); .... $this->assertEquals(4,$user->getCount()); } $result->runCount() returns 1 instead of 2 is this OK? -- Wolfram ... opensource @ vision:produktion ... http://opensource.visionp.de ... translating template engine .... http://sf.net/projects/simpletpl ... authentication system .... http://sf.net/projects/auth

« previous php.pear.general (#4245) next »