OpenCGA uses FitNesse to write Acceptance Tests. Each Test page is an independent collection of tests and can be either executed independently or as a part of Suite run.
Download Acceptance Tests Code
Once user has cloned OpenCGA from git repository using following command :
$ git clone https://github.com/opencb/opencga.git
There will be a directory "opencga/opencga-test/fitnesse". This contains the FitNesse standalone jar, dependencies and FitNesseRoot folder with all the acceptance tests.
Start FitNesse Server
The following command will start FitNesse server on port 7070:
java -jar fitnesse-standalone.jar -p 7070
After successful start of server, User can start web browser : http://localhost:7070/ and will see the following webpage :
User can read introduction to FitNesse, examples and other related material on this page or can directly dive into OpenCGA by clicking OpenCga link.
How To Run Acceptance Tests
FitNesse tests can either be executed whole as a Suite by pressing "Suite" button on top of page of individual test pages can be individually executed by pressing "Test" button on top of that page.