{"id":17134368,"url":"https://github.com/brianium/paratest-selenium","last_synced_at":"2025-04-13T08:55:18.619Z","repository":{"id":5231555,"uuid":"6408307","full_name":"brianium/paratest-selenium","owner":"brianium","description":"An example of using ParaTest to speed up functional tests with Selenium2 and PHPUnit","archived":false,"fork":false,"pushed_at":"2013-05-11T02:36:50.000Z","size":355,"stargazers_count":23,"open_issues_count":0,"forks_count":3,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-04-04T22:46:53.956Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"TheMuppets/proprietary_vendor_samsung","license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/brianium.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2012-10-26T18:16:04.000Z","updated_at":"2023-10-13T18:14:16.000Z","dependencies_parsed_at":"2022-09-19T02:00:53.930Z","dependency_job_id":null,"html_url":"https://github.com/brianium/paratest-selenium","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brianium%2Fparatest-selenium","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brianium%2Fparatest-selenium/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brianium%2Fparatest-selenium/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brianium%2Fparatest-selenium/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/brianium","download_url":"https://codeload.github.com/brianium/paratest-selenium/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248688544,"owners_count":21145763,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-14T19:44:43.409Z","updated_at":"2025-04-13T08:55:18.596Z","avatar_url":"https://github.com/brianium.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"Testing PHPUnit's PHPUnit_Extensions_Selenium2TestCase With ParaTest\n====================================================================\n\nThis is an example of running Selenium Web Driver tests in parallel with [ParaTest.](https://github.com/brianium/paratest)\nThe tests use the Chrome browser to test the Backbone.js Todo app. Running on Ubuntu 12.04\nwith Chrome Version 22.0.1229.79 - the results were as follows:\n\nVanilla PHPUnit:\n\n![PHPUnit Selenium Results](https://raw.github.com/brianium/paratest-selenium/master/phpunit-results.jpg \"PHPUnit Selenium Results\")\n\nParaTest Results:\n\n![ParaTest Selenium Results](https://raw.github.com/brianium/paratest-selenium/master/paratest-results.jpg \"ParaTest Selenium Results\")\n\n2.25 times faster than PHPUnit alone on this test and this machine.\n\nSetting Up\n----------\n\n### Get Selenium Server ###\nYou will need to make sure you have selenium server installed. Head over to [SeleniumHQ](http://seleniumhq.org/download/) and download the latest and greatest. To run the server run the jar like so:\n\n`java -jar /path/to/selenium-server-standalone-2.25.0.jar`\n\n### Install Dependencies Via Composer ###\nAll of the dependencies can be installed via composer.\n\n`php composer.phar install`\n\nThis will install PHPUnit and ParaTest.\n\n### Install Chrome Driver ###\nThese tests operate via the Chrome Driver. Installation is easy, and instructions for doing so can be found at the [Selenium wiki](http://code.google.com/p/selenium/wiki/ChromeDriver)\n\nRunning The Tests\n-----------------\n\nTo run the tests using ParaTest run the following command (will read suite from phpunix.xml):\n`vendor/bin/paratest -f`\n\nTo run the tests using phpunit alone run the following command:\n`vendor/bin/phpunit`\n\nFor more information on ParaTest head over to the [repo](https://github.com/brianium/paratest).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbrianium%2Fparatest-selenium","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbrianium%2Fparatest-selenium","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbrianium%2Fparatest-selenium/lists"}