PMC:QA:Usage tutorial

From ADempiere ERP Wiki

Jump to: navigation, search

Contents

Usage tutorial

CI

Access CI server

Please access CI Server by url:

image: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:

image:tutorial1.png

Build History

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

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

image:tutorial2.png

Console Output

click "Console Output" to review detailed output info.

image: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.image:tutorial27.png

image:tutorial28.png

select "Test Result" to view test result

image:tutorial29.png

all tests

image:tutorial30.png

MBPGroupTest

image:tutorial31.png

MBPGroupTest detailed info

image:tutorial32.png

test result trend

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

image:tutorial33.png

Build Time Trend

click image:tutorial34.png"Trend" to review build time trend on the AdempiereQA index page

image:tutorial17.png


Fitnesse

Fitnesse job include adempiereqa fitnesse test.

Fitnesse job

Click "Fitnesse" on the hudson dashboard

image:tutorial4.png

Fitnesse build history

image:tutorial5.png

Console Output

Build console output

image:tutorial6.png

Test Result

image:tutorial7.png

click (root)-> AdempiereSuite to see all tests

image:tutorial8.png

FitNesse Results

review fitnesse results

image: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.

image: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

image:tutorial11.png

Sahi build history

review sahi build

image:tutorial12.png

Console Output

build console output

image:tutorial13.png

Test Result

test result

image:tutorial14.png

To review more:eg,create_bpartner

Test Results -> create_bpartner -> sahi

image:tutorial15.png

Test Result Trend

test result trend

image: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 File:tuto5.png in the Hudson sidebar

File:tuto6.png

login

user IDPasswordLangugeRoleClientOrganizationWarehouse
SuperUserSystemEnglishqagroup AdminqagroupqaStandard

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

Check sahi test result

Example:Business Partner

image:tutorial18.png

Then input search key

image:tutorial19.png

open business partner window

image:tutorial20.png

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

To review latest one by click "Grid toggle" icon image:tutorial21.png on the toolbar.

lists all the records,select the latest one.

image: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 image:tutorial23.png

then will pop-up a window with this record info

image:tutorial24.png

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

image:tutorial25.png

You can see their time is matching.

The latest recode

image:tutorial26.png

Links

   * Go back to PMC:QA
Personal tools