|
From: Culley H. <cu...@fl...> - 2004-04-07 23:58:56
|
It looks like WebTestCase is a decendant of SimpleTestCase which has
assertTrue. You can get a lot done with assertTrue but why not have
things like assertEqual and assertNotNull available in WebTestCase?
It might also be interesting to be able to extract data from the
patterns matched:
$this->assertWantedPattern('/Order Number:\s(\d+)-(\d+)/', $matches);
where $matches would be loaded with data matched in the sub-patterns
(preg_match style). I haven't needed this but I could see how it might
be useful.
culley
|