java - Test multiple android applications with same integration tests? -


i think long shot, but...

we have such project structure:

common-library     - denmark           - application     - france           - application     - application-xxxxxx           - application           - integration-tests 

each application has different configuration, translations, different package names , on, in same. have same features, same user interface etc.

only 1 of our applications tested integration tests robotium. there way "share" same integration tests other applications?

it perfect have "common tests" , custom/specific tests each application. @ possible?

we're using maven , jenkins our needs.

any other approaches or suggestions welcome.

well, assuming need maintain 1 set of integration tests only, go in direction of having:

  • separate maven module holding integration tests only
  • and in i'd introduce multiple maven profiles, each 1 have specified maven dependency on 1 of modules tested only
  • build can later switch between profiles activate particular build

as notes on integration testing options (http://docs.codehaus.org/display/mavenuser/maven+and+integration+testing) , believe affect approach well:

the disadvantage of doing way tends separate integration tests code they're attempting test. result, may find no 1 "owns" integration tests; typically you'll have 1 person job analyze integration tests , find bugs. qa hard, it's harder when it's unclear "owns" test failures.

another problem if run builds including integration tests (via jenkins) on code change automatically. module dependencies not launch integration tests automatically. rather might need define 1 jenkins job per profile , define correct jobs sequence manually. e.g.: if jenkins built denmark app => build integration, profile denmark, ...


Comments

Popular posts from this blog

javascript - DIV "hiding" when changing dropdown value -

Does Firefox offer AppleScript support to get URL of windows? -

android - How to install packaged app on Firefox for mobile? -