Tagged Questions

The tag has no wiki summary.

learn more… | top users | synonyms

0
votes
0answers
11 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)) { ...
0
votes
1answer
18 views

Run the test JS and PHP in parallel via CircleCI

I use circle to run JS and PHP test (Protractor/ Phpunit). I would like use parallelism to win time but i don't know configure the parallelism. I activate the parallelism in the circle parameters (2 ...
0
votes
1answer
108 views

PHPUnit Selenium2 calling a function

I am testing with PHPUnit and Selenium2. I am testing the admin panel. So, I need to add Admin Login Test into all my admin panel tests. I want to create a new Admin Login Test with a new file and I ...
0
votes
1answer
461 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 ...
2
votes
1answer
216 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 ...
4
votes
3answers
544 views

How do I simulate a right click using Selenium 2 and PHPUnit?

I am trying to execute a functional test using Selenium 2 and PHPUnit. In the class 'Selenium2TestCase.php', I found this code: class PHPUnit_Extensions_Selenium2TestCase_SessionCommand_Click ...