System Test Design - PowerPoint PPT Presentation

slide1 n.
Download
Skip this Video
Loading SlideShow in 5 Seconds..
System Test Design PowerPoint Presentation
Download Presentation
System Test Design

play fullscreen
1 / 28
System Test Design
218 Views
Download Presentation
mercury
Download Presentation

System Test Design

- - - - - - - - - - - - - - - - - - - - - - - - - - - E N D - - - - - - - - - - - - - - - - - - - - - - - - - - -
Presentation Transcript

  1. SYST TCON System Test Design The Location of Test Design Test Design Structure Test Design Content by ANSI/IEEE-829 System Test Requirements System Test Approaches Random Testing Architectural Testing Use Case Testing Calender Use Cases Live Testing Regression Testing System Test Scenarios Defining Test Scenarios Calender Test Scenarios System Test Objects Calender Test Objects Potential Test End Criteria Calender Test End Criteria Test case / Requirement Table Test case / Use Case Table Test case / Test object Table Test case / Database Table Requirement/Test case Table for Calender Use case /Test case Table for Calender Test Object / Test case Table for Calender Test Design of a Data Feed Process 1 14 2 15 3 16 4 17 5 18 6 19 7 20 8 21 9 22 10 23 11 24 12 25 13 26

  2. SYST TCON-1 Location of Test Design in the Test Process Activity of Designing the System Test Init Test- planning Test Plan Test design Test Design Test spec. Test Cases Test execution Result of Test Design Test Results Test evaluation Closure Test Docu.

  3. SYST TCON-2 Structure of Test Design Test Design Test Goals Test Require- ments Test Functions Test Objects Test End Criteria Test- scenarios Test Cases Test Cycles Test Metrics Relationship of Test Design Entities

  4. SYST TCON-3 Test Design Content according to ANSI/IEEE-829 Test Design Id (Calender\Test\Design\Header.doc)Test Requirements (Calender\Test\Design\Require.doc)Test Approaches (Calender\Test\Design\Approach.doc)Test Scenarios (Calender\Test\Design\Scenario.doc)Test Objects (Calender\Test\Design\Objects.doc)Test End Criteria (Calender\Test\Design\Criteria.doc) 1 2 3 4 5 6

  5. SYST TCON-4 System Test Requirements Requirements need to be validated • Functional Requirements Non-functional Requirements •  Create a Calender  Bad inputs should be tested •  Open a week  Table overflow should be tested •  Open a day  Network disruption should be tested •  Insert Activities  Database deadlock should be tested •  Delete aktivities  Response time should be tested •  Close a day  Recovery/Restart should be tested •  Close a week  Transaction Load should be tested • Print a calender  Usability should be tested •  Delete a calender  Security should be tested

  6. SYST TCON-5 System Test Approaches System Test Approaches Ways to validate the Test Requirements Arbitrary Test against randomly selected data Random Testing Architectural Testing Systematic Test of the System Design Functional Testing Systematic Test of the System Use Cases Live Testing Test of the System in the Production Environment Regression Testing Test of the System against the preceeding system.

  7. SYST TCON-6 Random Testing Random data System spits out random results S y s t e m Mouse runs over the User Interface There is no real way to Validate random results Parameter Data Generator Random test leads to random results in the Database Data Structure

  8. SYST TCON-7 Architectural Testing ------------------ -------- Terminal Inputs Outputs User Interface Paths Path to traverse S y s t e m Control Module Module Module Access Module Data Editor Selected Data DB

  9. SYST TCON-8 Use Case Testing Pre Conditions Post Condiutions Steps Exceptions Actor Actor Use Case Use Case Use Case Use Case

  10. SYST TCON-9 Calender Use Cases Mitarbeiter Create Calender Open a Week Open a Day Insert an Activity Preconditions: calender does not exist Calender exists Woche exits Day exists Week does not exist Day does not exist Time slot is freePost conditions: Calender stored new Week is stored new day is stored new Activity stored. Error Message Error Message Error Message Error Message Calender Processing

  11. SYST TCON-10 Live Testing ------------------ From Production To Production Input Script Output Script Production Inputs Produktion Outputs S y s t e m User interface Import Files Export Files Import Function Export Function Access Functions Production data Mutations Masterdata Test-DB Prod-DB Compare

  12. SYST TCON-11 Regression Testing ------------------ Replay- script Capture script S y s t e m Masken Old Input Files New Output Files Input Functions Output Functions Access Functions OldData Test-DB NewData

  13. SYST TCON-12 System Test Scenarios What should be tested when  Test Goals? Test Scenario Test of the Data Entry Correctness,Error HandlingData Overflow Response Time Test of the Data Update Correctness,Error Handling,Deadlocking Test of ther Data Queries Correctness,Data Overflow Response Time Test of the Report Generation Preciseness,Layout Correctness

  14. SYST TCON-13 Defining Test Scenarios Initialize the Databasewith a batch process 1 2 Enter initial data via aDialog process 3 Generate reportsvia a Batch process 4 Import the Import files via aBatch process 5 Update the Data via aDialog process 6 Generate reports via aBatch process 7 Query the Database in a Dialog process 2

  15. SYST TCON-14.1 Calender Test Scenario Calender Test 1 create a Calender 11 for unauthorized persons 12 for authorized persons 121 Open week with an invalid week 122 Open week with a valid week 1221 Open day with an invalid day 1222 Open day with a valid day 123 Close the week

  16. SYST TCON-14.2 12221 Insert activities 122211 With a bad start time 122212 With a bad end time 122213 With an inavlid Description 122214 With a valid Description 122215 Delete an activity 122216 Insert too many activities 1223 Close a day 13 Close the calender

  17. SYST TCON-15 Test Objects Test Objects Was is to be tested  What Objects? Systems Components Modules Interfaces Classes Data Base Tables

  18. SYST TCON-16 Calender Test Objects ------------------ User Interface NameNumber Calender Week Error Message Day Start Time End Time Description Activity

  19. SYST TCON-17 Potential Test End Criteria IstSoll Erfüllungsgrad = Functional Coverage Data Coverage Architectural Coverage Security Coverage Performance Coverage Projected Error Coverage

  20. SYST TCON-18 Calender Test End Criteria 1 All 4 use cases have been tested.All 16 use case steps have been tested.All 26 data attributes have been validatedAll 8 error messages have been provoked.System was tested with 20 simultaneous users.Response Time is in 90% of the cases under 2 Seconds.8 of 9 predicted errors were found.. 2 3 4 5 6 7

  21. SYST TCON-19 Test Case/Requirement Relationship Table R E Q U I R E M E N T S TEST CASES REQU_1 REQU_2 REQU_3 REQU_4 REQU_5 REQU_6 REQU_7 REQU_8 TEST-CASE-1 X TEST-CASE-2 X TEST-CASE-3 X TEST-CASE-4 X TEST-CASE-5 X TEST-CASE-6 X TEST-CASE-7 X TEST-CASE-8 X TEST-CASE-9 X TEST-CASE-10 X TEST-CASE-11 X TEST-CASE-12 X TEST-CASE-13 X ..... X

  22. SYST TCON-20 Test Case / Use Case Relationship Table U S E C A S E S TEST CASES CASE_1 CASE_2 CASE_3 CASE_4 CASE_5 TEST-CASE-1 X TEST-CASE-2 X TEST-CASE-3 X TEST-CASE-4 X TEST-CASE-5 X TEST-CASE-6 X TEST-CASE-7 X TEST-CASE-8 X TEST-CASE-9 X TEST-CASE-10 X TEST-CASE-11 X TEST-CASE-12 X TEST-CASE-13 X

  23. SYST TCON-21 Test Case / Test Object Relationship Table T E S T O B J E K T E TEST CASES OBJ_A OBJ_B OBJ_C OBJ_D OBJ_E OBJ_F OBJ_G OBJ_H OBJ_I TEST-CASE-1 X X TEST-CASE-2 X X X TEST-CASE-3 X X X TEST-CASE-4 X X X X TEST-CASE-5 X X X X TEST-CASE-6 X X TEST-CASE-7 X X TEST-CASE-8 X X X TEST-CASE-9 X X X X TEST-CASE-10 X X X X TEST-CASE-11 X X X X X TEST-CASE-12 X X X X X X TEST-CASE-13 X X X X X X .....

  24. SYST TCON-22 Test Case / Database Table Relationship Table D A T A B A S E S TEST CASES DB_1 DB_2 DB_3 DB_4 DB_5 TAB_A TAB_B TEST-CASE-1 R U TEST-CASE-2 R U R TEST-CASE-3 R U R TEST-CASE-4 R D R U TEST-CASE-5 R U R U TEST-CASE-6 R R TEST-CASE-7 R R U TEST-CASE-8 R R D TEST-CASE-9 R R U TEST-CASE-10 R R D TEST-CASE-11 R R R U TEST-CASE-12 R R U U TEST-CASE-13 R R U D .....

  25. SYST TCON-23 Requirement / Test Case Relationships for the Calender A N F O R D E R U N G E N TEST CASES Create Open Open Insert Delete Provoke Table Calender Week Day Activity Activity Error Overflow Invalid Name Valid Name of user Invalid week Valid week Invalid day of week Valid day of week Invalid start time Invalid end time Valid activity > Max Activities

  26. SYST TCON-24 Use Case / Test Case Relationships for the Calender U S E C A S E S TEST CASES Create open a open a Insert an Calender Week Day Activity Invalid Name Valid Name of User Invalid Week Valid Week Invalid day Valid day of week Invalid start time Invalid end time Valid Activity > Max Activities

  27. SYST TCON-25 Test Object / Test Case Relationsships for Calender T E S T O B J E C T S TEST CASES Calender Week Day Aktivity Error Msg Invalid Name Valid Name of User Invalid Week Valid Week Invalid Day Valid Day of week Invalid start time Invalid end time Valid Activity > Max Activities

  28. SYST TCON-26 Test Design of a Data Feed Process To be validated by WSDLVal To be generated by XMLGen XML Import Interface WSDL Export Interface Use Cases UC-01 UC-16 UC-17 Input Messages Update Event XML WSDL BaseEvent Benach- richtigung Nachricht Manschaft Liga Regel FeedEvent Delivered FeedEvent Benach. Typ To be generated by CSVGen To be validated by CSVVal