PHPUnit is a free framework for testing PHP-scripts.

learn more… | top users | synonyms

2
votes
1answer
227 views

PHPUnit Selenium2TestCase BadMethodCallException

I have installed selenium-server-standalone-2.33.0.jar , phpUnit, selenium extension for phpUnit. This test run ok $this->url('/'); $this->assertEquals('my title',$this->title()); But ...
0
votes
1answer
60 views

A test case needs 5 mins of wait. During these 5 mins I want to run other test cases

A test case needs 5 mins of wait. During these 5 mins I want to run other test cases. After 5 mins I want to check the necessary condition of 1st test case which is on hold for last 5 mins. How to ...
0
votes
1answer
503 views

Selenium: Best way to capture unexpected error?

I know how to check values and create tests and do the error handling if something fails, but what I din't found anywhere was the following: A test case tests specific things. But what when ...
0
votes
0answers
12 views

Checking invocation of internal methods

Currently I am writing tests for a framework and I have several PHP methods that have this pattern: $method = 'onBefore' . ucfirst($this->task); if (method_exists($this, $method)) { ...