forked from freynaud/sauceplugin
-
Notifications
You must be signed in to change notification settings - Fork 8
Development Notes
rossrowe edited this page Nov 15, 2012
·
3 revisions
The plugin is built with Maven
To compile, run the tests and package a jar, run:
mvn package
To deploy a new version of the plugin to the Sauce Labs Maven repository, run
mvn release:prepare
which will prompt you to enter the version number and tag, then enter
mvn release:perform
which will deploy the Jar file to the repository.
The core class for the plugin is com.saucelabs.grid.SauceOnDemandRemoteProxy
which handles responding to requests to facilitate Selenium tests from the Grid server.
The com.saucelabs.grid.SauceOnDemandRemoteProxy#compareTo
method controls the order in which the SauceOnDemandRemoteProxy instance is processed by the grid server with regards to any other local Node instances.