Download presentation
Presentation is loading. Please wait.
Published byEustacia Bennett Modified over 9 years ago
1
1 TEST SETS the general method data models extraction functional criterias data sets data sets before tests selection test execution extraction anonymisation / data generation analysis / validation data sets after testsexecution traces test coverage
2
2 FUNCTIONAL SUBSET derived from the model …and the usage graph SELECTION functional division The subset is the minimum list of necessary tables
3
3 VOLUMETRIC SUBSET rules definition for all the functional subset attributes SELECTION volumetric division
4
4 RULE TYPES 1. Simple criteria x = valeur 2. borders x <= 0007 0008 <= x <= 0011 0012 <= x 3. Addition or suppression of known records SELECTION volumetric division
5
5 extraction method F = first record S = 1 amongst N R = random number combination types U = union I = intersection X = exclusion processing sequence nbr of records to be extracted, per type Results Primary keys 6971 36941 91178 94875 17437 35477 53385 71450 89472 60811 45832 20876 52417 75968 10 10001 10009 10016 10017 … SELECTION volumetric division
6
6 data models extraction functional criterias data sets data sets before tests selection test execution extraction anonymisation / data generation analysis / validation data sets after testsexecution traces test coverage TEST SETS the general method
7
7 EXTRACTION
8
8 Extraction combination coming from different DB ABCD EFGH … XYZT Schema 1 Extracteur DB 1 6971 36941 91178 … 10017 Key 1 Key 2 Schema 2 Rule 1 Attribute 1 = ‘X’ … Rule 2 Attribute 2 = ‘Y’ … DB 2 Extracteur Links element Data 1 Data 2 EXTRACTION
9
9 data models extraction functional criterias data sets data sets before tests selection test execution extraction anonymisation / data generation analysis / validation data sets after testsexecution traces test coverage TEST SETS the general method
10
10 ANONYMISATION
11
11 ListeRS.txt To define the data anonymisation rules The values of the attribute “RAISON SOCIAL” are read in the file "D:\Dgi\Database\ListeRS.txt" RAISON SOCIALE 00001 RAISON SOCIALE 00002 RAISON SOCIALE 00003 RAISON SOCIALE 00004 RAISON SOCIALE 00005 RAISON SOCIALE 00006 RAISON SOCIALE 00007 RAISON SOCIALE 00008 RAISON SOCIALE 00009 … ANONYMISATION
12
12 ANONYMISATION
13
13 For each record “ SUPPORT JURIDIQUE” create randomly 1 to 3 record TIERS DATA GENERATION Generation rules
14
14 Contents generation DATA GENERATION
15
15 data models extraction functional criterias data sets data sets before tests selection test execution extraction anonymisation / data generation analysis / validation data sets after testsexecution traces test coverage TEST SETS the general method
16
16 Use of the extractors to obtain the data sets to be compared DB before tests 6971 36941 91178 94875 17437 35477 53385 71450 89472 60811 45832 20876 52417 75968 10 10001 10009 10016 10017 … Extractor DB after tests ANALYSIS / VALIDATION
17
17 To define comparison criteria’s Looking for differences Some attributs might be different ANALYSIS / VALIDATION
18
18 <SUPPORTJURIDIQUE IDSJU = "53385" <TIERS IDTIERS = "85524" <DEFAILLANCE IDDEFAILLANCE="80307"/> > <TIERS IDTIERS = "85523" > <SUPPORTJURIDIQUE IDSJU = "53385" <TIERS IDTIERS = "85524" <DEFAILLANCE IDDEFAILLANCE="80307"/> > record TIERS 85523 was cancelled DB 1 extraction DB 2 extraction ANALYSIS / VALIDATION
19
19 VALUE DIFFERENCES Some value difference between attributes were ignored ex: MODIFICATIONDATE The path to the record is detailed The critical differences are detected ANALYSIS / VALIDATION
20
20 data models extraction functional criterias data sets data sets before tests selection test execution extraction anonymisation / data generation analysis / validation data sets after testsexecution traces test coverage TEST SETS the general method
21
21 PROGRAMS ARE AUTOMATICALLY INSTRUMENTED COVERAGE
22
22 RESULTS FROM THE ANALYSIS OF A PROGRAM TRACE FILE INCLUDING 5.424 ARCS Arc numberNumber of processes Procedure name 6 03215 499 704SR1CH1S11 6 03315 499 704SR1CH1S11 end …… … 6 0183 219 761SR8 6 0173 219 761SR8 end ……… 6 016278 110SR5 6 017278 110SR5 end ……… 6 1860OPTI-EMPI 6 1870OPTI-EMPI end The most used arcs The less used arcs COVERAGE
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.