How to run Selenium RC + PHPUnit + NetBeans remotely?

I have a Selenium server, PHPUnit and NetBeans on the computer that I want to be my dedicated field for testing. How can I configure it if I modified the test cases (I already understood this part) and told the test machine to run the test remotely?

+4
source share
2 answers

I would use a continuous integration server like Jenkins . Typically, CI servers are used to create an application for every commit in the repository, but itโ€™s just as easy to manually run the โ€œbuildโ€, which is only to run all your tests (and record the results and run code coverage if you want, etc.) e).

I found that Jenkins is very easy to set up (I followed a good tutorial at http://blog.jepamedia.org/2009/10/28/continuous-integration-for-php-with-hudson ) is the only extra work I besides creating the build script you had to make sure that Selenium RC was running on the test machine, and it looks like you already did it.

To make it even easier, if you configured Jenkins (or any other CI server, I'm sure) to build a commit in your repository, then you donโ€™t even need to go into the test machine to edit the tests - anyone can run the tests, the CI server will run tests, and everyone can see the results. Not so important if you are developing a solo, but still a convenient trick.

0
source

We can run test cases from a remote server, and the case will be launched on the local computer. We must follow these steps:

Install phpunit and the necessary packages on the server; edit the test case and change the host as the local IP address (use a static IP address); run selenium RC on the local server; run the test script on the server. The test version will be executed on the local computer.

0
source

All Articles