Skip to content

Latest commit

 

History

History
66 lines (51 loc) · 4.26 KB

README.md

File metadata and controls

66 lines (51 loc) · 4.26 KB

iDempiere FitNesse

The iDempiere FitNesse is a set of project that aims to easy the integration and use of the FitNesse by the iDempiere project fot automating tests and populating.

This project was started with the IDEMPIERE-206 and was moved from core with the IDEMPIERE-4138.

What is new ?

Projects:

  • fitnesse - fitnesse server console
  • org.idempiere.fitnesse.fixture - fitnesse fixture for idempiere
  • org.idempiere.fitnesse.p2 - project to build p2 repository
  • org.idempiere.fitnesse.parent - parent pom project
  • org.idempiere.fitnesse.server - web server for fitnesse fixture
  • org.idempiere.fitnesse-feature - main feature for P2
  • org.idempiere.fitrecorder - recorder to help build fixture. read more...
  • org.idempiere.ui.zk.selenium - selenium support for zk web client
  • selenese - example test cases exported from Selenium IDE ( JUnit4 + WebDriver ).Read more...

Usage

Here you can find some instructions FitNesse integration usage for development and deployment on already existing servers.

Development Environment

You need to configure your development environment and then import the iDempiere Fitnesse project on your workspace taking care about the following folder structure:

  • idempiere
  • idempiere-fitnesse
    • org.idempiere.fitnesse.*
    • org.idempiere.fitrecorder
    • org.idempiere.ui.zk.selenium

Note that you will need select and start the fitnesse and selenium plugins when launching the server with server.product.launch or server.product.functionaltest.launch.

For more instructions you can check this page

Deployment on existing servers

  • at idempiere-fitnesse, run mvn verify
  • copy deploy-fitnesse.sh to your idempiere instance's root folder
  • at your idempiere instance's root folder (for instance, /opt/idempiere), run ./deploy-fitnesse.sh <file or url path to org.idempiere.fitnesse.p2/target/repository>
  • for e.g, if your source is at /ws/idempiere-fitnesse, ./deploy-fitnesse.sh file:////ws/idempiere-fitnesse/org.idempiere.fitnesse.p2/target/repository
  • to uninstall, copy remove-fitnesse.sh to your idempiere instance's root folder. Run ./remove-fitnesse.sh to uninstall it
  • if the bundle doesn't auto start after deployment (with STARTING status), at osgi console, run "sta org.idempiere.fitnesse.server" to activate the plugin

TODO

  • Test and create SLIM test cases
  • Create more test suites for core System and Garden World
  • Integrate ZATS for ZK interface automated tests

Find more information at: