PMC:QA:Usage tutorial

From ADempiere
Jump to: navigation, search
This Wiki is read-only for reference purposes to avoid broken links.

Usage tutorial

CI

Access CI server

Please access CI Server by url:

Tutorial.png

There are three jobs:AdempiereQA,Fitnesse,Sahi

AdempiereQA

AdempiereQA job integrated adempiere Source Code update,database update,source code compilation,adempiere installation and adempiere junit test.

AdempiereQA job

Click "AdempiereQA" on the dashboard,then you'll see AdempiereQA as following:

Tutorial1.png

Build History

left is "Build History",you can review them.

Example:review "#228 Oct 11, 2010 4:06:42 AM"

Tutorial2.png

Console Output

click "Console Output" to review detailed output info.

Tutorial3.png

junit test

AdempiereQA job include junit test.

test result

review junit test and its result:

Example:


select build which you want to review.Tutorial27.png

Tutorial28.png

select "Test Result" to view test result

Tutorial29.png

all tests

Tutorial30.png

MBPGroupTest

Tutorial31.png

MBPGroupTest detailed info

Tutorial32.png

test result trend

Back to job index page, hudson -> AdempiereQA,there is a junit "test result trend" on the right

Tutorial33.png

Build Time Trend

click Tutorial34.png"Trend" to review build time trend on the AdempiereQA index page

Tutorial17.png


Fitnesse

Fitnesse job include adempiereqa fitnesse test.

Fitnesse job

Click "Fitnesse" on the hudson dashboard

Tutorial4.png

Fitnesse build history

Tutorial5.png

Console Output

Build console output

Tutorial6.png

Test Result

Tutorial7.png

click (root)-> AdempiereSuite to see all tests

Tutorial8.png

FitNesse Results

review fitnesse results

Tutorial9.png

Test Result Trend

Back to project index page,there is a "Test Result Trend" on the right,you can see visual display of the test result.

Tutorial10.png

Sahi

Sahi job include adempiere sahi test:

  • business partner creation
  • product creation
  • sales order creation

Sahi job

click "Sahi" on the hudson dashboard

Tutorial11.png

Sahi build history

review sahi build

Tutorial12.png

Console Output

build console output

Tutorial13.png

Test Result

test result

Tutorial14.png

To review more:eg,create_bpartner

Test Results -> create_bpartner -> sahi

Tutorial15.png

Test Result Trend

test result trend

Tutorial16.png

Relationship

Review sahi test result in Adempiere webui application

After sahi test build,then you can review its test result in Adempiere webui application.

Access Adempiere webui application by url:

you can link it by click Tuto5.png in the Hudson sidebar

Tuto6.png

login

user ID Password Languge Role Client Organization Warehouse
SuperUser System English qagroup Admin qagroup qa Standard

Login Adempiere webui with above info.next you can check sahi result.

Check sahi test result

Example:Business Partner

Tutorial18.png

Then input search key

Tutorial19.png

open business partner window

Tutorial20.png

This is the earliest record which is created by sahi test.

To review latest one by click "Grid toggle" icon Tutorial21.png on the toolbar.

lists all the records,select the latest one.

Tutorial22.png

and check its creation time,if the time match to sahi latest test time or not.

check its creation time via click lower right corner Tutorial23.png

then will pop-up a window with this record info

Tutorial24.png

Back to the ci server,check sahi test latest build time

Tutorial25.png

You can see their time is matching.

The latest recode

Tutorial26.png

Links

   * Go back to PMC:QA