20
Agenda for today: Agenda for today: The Unified Software The Unified Software Development Process: Test Development Process: Test (Note) (Note) Test The purpose of testing Artifacts Test in the sw Life Cycle Workers Test procedure

Agenda for today: The Unified Software Development Process: Test (Note) Test The purpose of testing Artifacts Test in the sw Life Cycle Workers Test procedure

Embed Size (px)

Citation preview

Page 1: Agenda for today: The Unified Software Development Process: Test (Note) Test The purpose of testing Artifacts Test in the sw Life Cycle Workers Test procedure

Agenda for today:Agenda for today:The Unified Software Development The Unified Software Development Process: Test (Note)Process: Test (Note)

Test

The purpose of testing

Artifacts

Test in the sw Life Cycle

Workers

Test procedure

Page 2: Agenda for today: The Unified Software Development Process: Test (Note) Test The purpose of testing Artifacts Test in the sw Life Cycle Workers Test procedure

The Unified Software Development The Unified Software Development Process: The purpose of testingProcess: The purpose of testing

1. To find errors

– To veryfie usecases, design ...

Page 3: Agenda for today: The Unified Software Development Process: Test (Note) Test The purpose of testing Artifacts Test in the sw Life Cycle Workers Test procedure

The Unified Software Development The Unified Software Development Process: Test in the sw Life Cycle Process: Test in the sw Life Cycle

Figure 11.2

Maintain and develop the testmodel throughout the complete software life cycle

Remove obsolete test cases Redefine some test cases Create new test cases

Page 4: Agenda for today: The Unified Software Development Process: Test (Note) Test The purpose of testing Artifacts Test in the sw Life Cycle Workers Test procedure

The Unified Software Development The Unified Software Development Process: Artifacts Process: Artifacts

Test model Test system

Test case Test Procedure

Test Component

Page 5: Agenda for today: The Unified Software Development Process: Test (Note) Test The purpose of testing Artifacts Test in the sw Life Cycle Workers Test procedure

The Unified Software Development The Unified Software Development Process: White-box / Black-boxProcess: White-box / Black-box

White box test

Use Case realisation

- Design (from the design model)

Page 6: Agenda for today: The Unified Software Development Process: Test (Note) Test The purpose of testing Artifacts Test in the sw Life Cycle Workers Test procedure

The Unified Software Development The Unified Software Development Process: White-box / Black-boxProcess: White-box / Black-box

Black box test

Use Case

- From the Use case model

Page 7: Agenda for today: The Unified Software Development Process: Test (Note) Test The purpose of testing Artifacts Test in the sw Life Cycle Workers Test procedure

The Unified Software Development The Unified Software Development Process: Other ArtifactsProcess: Other Artifacts

Artifact: Defect

•A Defect is a system anomaly (like a sw fault)

Artifact: Evaluate Test

Page 8: Agenda for today: The Unified Software Development Process: Test (Note) Test The purpose of testing Artifacts Test in the sw Life Cycle Workers Test procedure

The Unified Software Development The Unified Software Development Process: Other ArtifactsProcess: Other Artifacts

Test the system as a whole

•Installation test

•Configuration test

•Negative test

•Stress tests

Page 9: Agenda for today: The Unified Software Development Process: Test (Note) Test The purpose of testing Artifacts Test in the sw Life Cycle Workers Test procedure

The Unified Software Development The Unified Software Development Process: Example testcase Process: Example testcase

1.1. Test Case 1

Verification of the generation of the billing events through the Customer Care interface

In order to perform this test, the web Customer Care GUI has to be used.

An account has to be created in the system. This test case can be performed even if the account has not subscribed to a product.

Page 10: Agenda for today: The Unified Software Development Process: Test (Note) Test The purpose of testing Artifacts Test in the sw Life Cycle Workers Test procedure

The Unified Software Development The Unified Software Development Process: Example testcase Process: Example testcase

Test Step

Input/Action Expected Output Result

1 Create an account or look up an existing one.Use the apposite link to create a billing event.  

A billing event is created.The account balance change reflects the presence of the new billing event

Account balance: an amount is not shown in a proper way. Se screen shot Test Case 1.

Page 11: Agenda for today: The Unified Software Development Process: Test (Note) Test The purpose of testing Artifacts Test in the sw Life Cycle Workers Test procedure

The Unified Software Development The Unified Software Development Process: Example testcase Process: Example testcase

Page 12: Agenda for today: The Unified Software Development Process: Test (Note) Test The purpose of testing Artifacts Test in the sw Life Cycle Workers Test procedure

The Unified Software Development The Unified Software Development Process: Example testcase Process: Example testcase

Test model

Based on a given use-case there is always a related test-case .

E.g.. Use-case Put-Billingevent had an related test-case

Page 13: Agenda for today: The Unified Software Development Process: Test (Note) Test The purpose of testing Artifacts Test in the sw Life Cycle Workers Test procedure

The Unified Software Development The Unified Software Development Process: Workers Process: Workers

Workers

•Test Designer

•Component Engineer

•Integration Tester

•System Tester

Workflow

Fig. 11.8 and 11.9

Page 14: Agenda for today: The Unified Software Development Process: Test (Note) Test The purpose of testing Artifacts Test in the sw Life Cycle Workers Test procedure

The Unified Software Development The Unified Software Development Process: Test procedure Process: Test procedure

•Activity: Plan Test

•Describe a testing strategy.

•Estimate the requirements for the testing effort, such as the human an system resources needed.

•Scheduling the testing effort.

Page 15: Agenda for today: The Unified Software Development Process: Test (Note) Test The purpose of testing Artifacts Test in the sw Life Cycle Workers Test procedure

The Unified Software Development The Unified Software Development Process: Test procedure (V-model)Process: Test procedure (V-model)

Start Delivery

Requirement Specification Accept Test

Program Design Integration Test

Module Design Module Test

Module Coding

Page 16: Agenda for today: The Unified Software Development Process: Test (Note) Test The purpose of testing Artifacts Test in the sw Life Cycle Workers Test procedure

The Unified Software Development The Unified Software Development Process: Test procedure (Automate)Process: Test procedure (Automate)

Test-Driver

Module undertest

Test-Stump 2Test-Stump 1 Test-Stump 3

Page 17: Agenda for today: The Unified Software Development Process: Test (Note) Test The purpose of testing Artifacts Test in the sw Life Cycle Workers Test procedure

The Unified Software Development The Unified Software Development Process: Test ProcedureProcess: Test Procedure

In principle there are two ways to test

1. Incremental test

• Top-down or Bottom-up

2. Total test

Page 18: Agenda for today: The Unified Software Development Process: Test (Note) Test The purpose of testing Artifacts Test in the sw Life Cycle Workers Test procedure

The Unified Software Development The Unified Software Development Process: My experiences Process: My experiences

•Boundary tests

•Input field my can only accept positive integers

•Test

•Input = 0, 1, -1, -1000, -0, Max value, 1.2, 0.1, -0.1

Page 19: Agenda for today: The Unified Software Development Process: Test (Note) Test The purpose of testing Artifacts Test in the sw Life Cycle Workers Test procedure

The Unified Software Development The Unified Software Development Process: My experiences Process: My experiences

•Make sure you know what the result of the test is meant to be.

•Plan test in advance

•Document your test

•Involve the end users in the system test

•Be careful to align the users expectations

Page 20: Agenda for today: The Unified Software Development Process: Test (Note) Test The purpose of testing Artifacts Test in the sw Life Cycle Workers Test procedure

MASTER_ACCOUNT_ID (FK)ACCOUNT_NOISPVN_ID (FK)PARAMETERSBILLING_CYCLE_ID (FK)CREDIT_LIMITCURRENCYINVOICE_THIS_ACCOUNTINVOICE_DETAIL_LEVELINVOICE_AGGREGATION_LEVELCLUSTER_IDFUTURE_MASTER_ACCOUNT_IDDELETEDINTERMEDIATESTART_DATELAST_UPDATED

ID

IMS.ACCOUNT

ACCOUNT_ID (FK)BLOCK_CAUSE_IDBLOCK_DATEBLOCK_CAUSE_COMMENT

ID

IMS.ACCOUNT_BLOCK_CAUSE

ACCOUNT_ID (FK)REGISTRATION_DATEUSER_LANGUAGENOTESBIRTHDATEUSERNAMEUSERNAME_ISPVNPASSW ORDSELFCARESEX_IDCHILDREN_IDEMPLOYEE_IDINCOME_IDEDUCATION_IDMARITAL_STATUS_IDOCCUPATION_IDPOSITION_IDTRADE_IDLAST_UPDATED

ID

IMS.ACCOUNT_CUSTOMER

TIMESTAMPNOTESOPERATOR_ID (FK)ACCOUNT_CUSTOMER_ID (FK)

ID

IMS.ACCOUNT_CUSTOMER_LOG

TIMESTAMPACCOUNT_ID (FK)COMMERCIAL_SERVICE_ID (FK)EVENT_IDORIGINATOROPERATOR_ID (FK)NOTES

ID

IMS.ACCOUNT_LOG

ACCOUNT_ID (FK)USAGE_UNIT_IDUSAGE_LIMIT_VALUEUSAGE_LIMIT_ACTION_IDUSAGE_MASTER_COUNTUSAGE_SUB_COUNTPERIOD_UNITPERIOD_LENGTHPERIOD_STARTPERIOD_END

ID

IMS.ACCOUNT_USAGE_LIMIT

STREET_NAMESTREET_NUMBERAPARTMENT_NUMBERPOST_BOXZIP_CODECITYCOUNTYCOUNTRY_ID (FK)COUNTRY_STATE_ID (FK)GEOCODEADDITIONAL_FIELD1ADDITIONAL_FIELD2

ID

IMS.ADDRESS

SALUTATION_ID (FK)FIRST_NAMEMIDDLE_NAMESURNAMECOMPANYADDITIONAL_FIELD1ADDITIONAL_FIELD2ADDRESS_ID (FK)

ID

IMS.CONTACT

TEXTCONTACT_ID (FK)

ID

IMS.CONTACT_FORMATTED

VALID_FROMCREATEDCANCELLEDOPERATOR_ID (FK)ACCOUNT_CUSTOMER_ID (FK)CONTACT_ID (FK)CONTACT_TYPE_ID (FK)

ID

IMS.CONTACT_SCHEDULE

NAMESHORT_NAMEDESCRIPTION

ID

IMS.CONTACT_TYPE

CREATEDIS_DEFAULTVISIBLEOPERATOR_ID (FK)CONTACT_TYPE_ID (FK)ISPVN_ID (FK)

ID

IMS.CONTACT_TYPE_ISPVN

NAMESHORT_NAMEDESCRIPTION

ID

IMS.CONTACT_TYPE_STATE

TIMESTAMPDESCRIPTIONOPERATOR_ID (FK)CONTACT_TYPE_ID (FK)CONTACT_TYPE_STATE_ID (FK)

ID

IMS.CONTACT_TYPE_STATE_LOG

NAMESHORT_NAMESORT_ORDER

ID

IMS.COUNTRY

NAMESHORT_NAMECOUNTRY_ID (FK)

ID

IMS.COUNTRY_STATE

ADDRESSCREATEDIS_CURRENTCONTACT_ID (FK)

ID

IMS.EMAIL

TITLE

ID

IMS.SALUTATION

COUNTRY_CODEAREA_CODELOCAL_DIRECTORYEXTENSIONCREATEDCONTACT_ID (FK)TELEPHONE_TYPE_ID (FK)

ID

IMS.TELEPHONE

NAMESHORT_NAMEDESCRIPTION

ID

IMS.TELEPHONE_TYPE

CREATEDIS_DEFAULTVISIBLEOPERATOR_ID (FK)TELEPHONE_TYPE_ID (FK)ISPVN_ID (FK)

ID

IMS.TELEPHONE_TYPE_ISPVN

NAMESHORT_NAMEDESCRIPTION

ID

IMS.TELEPHONE_TYPE_STATE

TIMESTAMPDESCRIPTIONOPERATOR_ID (FK)TELEPHONE_TYPE_ID (FK)TELEPHONE_TYPE_STATE_ID (FK)

ID

IMS.TELEPHONE_TYPE_STATE_LOG

New Way - Accounts