Skip to content

Instantly share code, notes, and snippets.

@benjaminhawkeslewis
Created September 4, 2011 10:24
Show Gist options
  • Save benjaminhawkeslewis/1192630 to your computer and use it in GitHub Desktop.
Save benjaminhawkeslewis/1192630 to your computer and use it in GitHub Desktop.
Possible way to structure Java test code for a (PHP) HATEOS webservice
src/main/java/com/acme/uiAutomation/webServices/Driver.java => abstraction for selenium2/webdriver
src/main/java/com/acme/uiAutomation/webServices/DriverFactory.java => factory for selenium2/webdriver
src/main/java/com/acme/uiAutomation/webServices/component/HomePage.java => Page Object for homepage
src/main/java/com/acme/uiAutomation/webServices/component/LoginDialog.java => Page Component for login dialog
src/test/unit/java/com/acme/uiAutomation/webServices/DriverFactoryTestSuite.java => unit tests for driver factory
src/test/performance/java/com/acme/webServices/TestSuite.java => performance tests for homepage
src/test/functional/java/com/acme/webServices/HomePageTestSuite.java => functional tests for homepage
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment