EP1038221B1 - Procede de surveillance de couverture de chemins lors de tests de logiciels - Google Patents
Procede de surveillance de couverture de chemins lors de tests de logiciels Download PDFInfo
- Publication number
- EP1038221B1 EP1038221B1 EP98961046A EP98961046A EP1038221B1 EP 1038221 B1 EP1038221 B1 EP 1038221B1 EP 98961046 A EP98961046 A EP 98961046A EP 98961046 A EP98961046 A EP 98961046A EP 1038221 B1 EP1038221 B1 EP 1038221B1
- Authority
- EP
- European Patent Office
- Prior art keywords
- test
- program
- software
- software program
- tested
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired - Lifetime
Links
- 238000000034 method Methods 0.000 title claims abstract description 17
- 238000012360 testing method Methods 0.000 claims abstract description 53
- 238000006243 chemical reaction Methods 0.000 abstract description 3
- 230000018109 developmental process Effects 0.000 description 15
- 238000011161 development Methods 0.000 description 14
- 238000011156 evaluation Methods 0.000 description 3
- 102100026009 NF-kappa-B inhibitor zeta Human genes 0.000 description 2
- 101710115530 NF-kappa-B inhibitor zeta Proteins 0.000 description 2
- 238000013461 design Methods 0.000 description 2
- 230000000694 effects Effects 0.000 description 2
- 238000007726 management method Methods 0.000 description 2
- 235000009754 Vitis X bourquina Nutrition 0.000 description 1
- 235000012333 Vitis X labruscana Nutrition 0.000 description 1
- 235000014787 Vitis vinifera Nutrition 0.000 description 1
- 240000006365 Vitis vinifera Species 0.000 description 1
- 239000003086 colorant Substances 0.000 description 1
- 238000004891 communication Methods 0.000 description 1
- 230000002349 favourable effect Effects 0.000 description 1
- 230000012447 hatching Effects 0.000 description 1
- 230000008676 import Effects 0.000 description 1
- 238000002372 labelling Methods 0.000 description 1
- 238000012545 processing Methods 0.000 description 1
- 238000010998 test method Methods 0.000 description 1
- 238000012546 transfer Methods 0.000 description 1
- 238000013024 troubleshooting Methods 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/36—Preventing errors by testing or debugging software
- G06F11/3668—Software testing
- G06F11/3672—Test management
- G06F11/3676—Test management for coverage analysis
Definitions
- the invention relates to a method for graphic Presentation of the results of tests of software programs, where the software program to be tested is made up of module components exists, and the software program in the form of a flow graph can be represented, and when testing this Software program has been created.
- An IN offers the possibility of offering a customer of telecommunication services other value-added services in addition to voice and data communication. These include, for example, uniform numbers across the division, changed cost regulations such as 'freephone' or 'premium service', the import of announcements, etc. These services have to be adapted to the needs of the service provider and the service provider; they can be easily assembled from individual standardized software modules, the so-called SIBs (Service Independent Building Blocks).
- SIBs Service Independent Building Blocks
- Another way of troubleshooting is to compare it with the graph that represents the service logic. This makes it easier to check whether all alternatives and thus all paths of the graph have been recorded with the test.
- SD Service Definition
- the object of the invention is to provide a way how a software to be tested through the test if possible has been fully captured.
- the software program to be tested can be broken down into individual program modules.
- the program sequence can then be represented simply as a graph by connecting the individual program modules to one another (by means of edges) in the sequence.
- the graph can assume a tree-like structure.
- FSL Flexible Service Logic
- the representation of this program sequence (hereinafter also referred to as FSL, Flexible Service Logic) can be expanded as required, for example by additional labeling of the individual program modules (e.g. with the name) and the individual connections / edges (e.g. with Transfer parameters or the result of a decision query).
- a test process log (trace log) is generated, which contains information about the test process, i.e.
- the proposed method considerably simplifies the testing of the newly created software programs, especially for inexperienced testers or people who are not so familiar with the program flow (when separating development and testing, for example).
- the previously tedious manual evaluation of the test protocols by comparing the trace protocol and the program flow can be eliminated.
- the method according to the invention proves to be particularly favorable if the software to be tested was previously defined in the form of a flow graph using a graphic development tool (SD).
- SD graphic development tool
- the individual program modules can be arranged in the form of symbols (Icon) and connected by module calls (arrows, directed edges of the graph).
- the result is an FSL source code that is mapped to an executable program code by means of a translator.
- This flow graph can already be used for the manual evaluation of the trace protocol, by using a printout to trace this graph or on the development surface.
- the test effort is the same for each new test run (regression test).
- One way of marking is to highlight the colors of the individual program modules used and the paths that have been followed (branches, edges of the graph). Complete test coverage is achieved when all edges of the program sequence data are colored, ie all program modules and all paths between the program modules have been covered.
- the use of different color types e.g. each test case that is run is marked by a different color, the frequency with which a particular path is run, or the distinction between expected, that is, correct and incorrect, run of the flow graph during the test
- a changed line type (dashed, bold ...) can indicate the path used. This enables the test to be carried out even if no colored processing surface is available.
- FIG. 1 shows the Away from the development of a service to test evaluation by means of the flow graph proposed according to the invention.
- the service developer designs a new service using a graphic development tool (SD, Service Definition).
- SD Service Definition
- This is essentially composed of a library of pre-defined program modules (Service Independent Building Blocks, SIB). This takes place in an important element of the intelligent network, the so-called Service Management Point (SMP) or in the Service Creation Environment (SCE), which offers an easy-to-use development interface.
- SMP Service Management Point
- SCE Service Creation Environment
- Several service developers can access this development environment.
- the program modules are connected to form a service logic graph (or program flow graph). In order to obtain a functional service, further stipulations must be made, which are not the subject of the invention.
- the service graph (FSL, flexible service logic) is displayed on the development interface during the definition phase.
- a service logic program can then be generated automatically from this graph, which then has to be tested for its functionality.
- the service logic program is stored on the executing network element (SCP, Service Control Point). Additional test data are required to carry out the test (FSL Test Data, INAP Test Msg). With the help of an already known mechanism, the test is run and a test protocol (SIB trace) is written.
- this test protocol only by means of a conversion function (Convert) automatically evaluated and with the associated Service graphs compared.
- the SIBs passed through to Examples are based on the logged SIB-ID identified and can be used in the graph in a more suitable way Marked way. You can use source code in the FSL the property parameters of the SIB connection lines traversed (Branches) to a color value or Line type can be set.
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Computer Hardware Design (AREA)
- Quality & Reliability (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Debugging And Monitoring (AREA)
- Stored Programmes (AREA)
Abstract
Claims (3)
- Procédé de représentation graphique des résultats de tests de logiciels pour la réalisation de services de télécommunicationdans le cas duquel le logiciel à tester est composé d'éléments modulaires (SIB), etle logiciel peut être représenté sous forme d'un graphe d'exécution, etun traçage d'exécution a été établi lors du test de ce logiciel, ettous les résultats d'un test sont marqués dans la représentation d'un graphe d'exécution etles éléments modulaires et les lignes de liaison du graphe d'exécution qui n'ont pas été prises en compte lors du test sont marqués.
- Procédé de représentation graphique des résultats de tests de logiciels pour la réalisation de services de télécommunicationdans le cas duquel le logiciel à tester est composé d'éléments modulaires (SIB), etle logiciel peut être représenté sous forme d'un graphe d'exécution, etun traçage d'exécution a été établi lors du test de ce logiciel, ettous les résultats d'un test sont marqués dans la représentation d'un graphe d'exécution, etle résultat du test obtenu est comparé avec un résultat du test attendu etles éléments modulaires et les lignes de liaison du graphe d'exécution qui n'ont pas ou pas correctement été pris en compte lors du test sont marqués.
- Procédé selon la revendication 1 ou 2, caractérisé en ce que l'exécution du programme du logiciel à tester a été définie sous forme d'un graphe d'exécution à l'aide d'une surface de programmation graphique (SD) et en ce que le logiciel a été converti au départ du graphe d'exécution.
Applications Claiming Priority (3)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
DE19754611 | 1997-12-09 | ||
DE19754611 | 1997-12-09 | ||
PCT/DE1998/003133 WO1999030232A1 (fr) | 1997-12-09 | 1998-10-26 | Procede de surveillance de couverture de chemins lors de tests de logiciels |
Publications (2)
Publication Number | Publication Date |
---|---|
EP1038221A1 EP1038221A1 (fr) | 2000-09-27 |
EP1038221B1 true EP1038221B1 (fr) | 2002-02-13 |
Family
ID=7851256
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
EP98961046A Expired - Lifetime EP1038221B1 (fr) | 1997-12-09 | 1998-10-26 | Procede de surveillance de couverture de chemins lors de tests de logiciels |
Country Status (4)
Country | Link |
---|---|
US (1) | US6694456B1 (fr) |
EP (1) | EP1038221B1 (fr) |
DE (1) | DE59803103D1 (fr) |
WO (1) | WO1999030232A1 (fr) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101894073A (zh) * | 2010-08-17 | 2010-11-24 | 北京航空航天大学 | 基于控制流交集的缺陷自动定位装置及其自动定位方法 |
Families Citing this family (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
DE10110208A1 (de) * | 2001-03-02 | 2002-09-19 | Siemens Production & Logistics | Verfahren zum Spezifizieren, Ausführen und Analysieren von Verfahrensabläufen beim Erkennen |
US7080358B2 (en) * | 2002-04-10 | 2006-07-18 | Sun Microsystems, Inc. | Mechanism for generating an execution log and coverage data for a set of computer code |
US20050097512A1 (en) * | 2003-10-30 | 2005-05-05 | Vangilder James H. | Telecommunications service program |
US7721156B2 (en) * | 2006-09-27 | 2010-05-18 | International Business Machines Corporation | Selective logging of computer activity |
US7793267B2 (en) * | 2006-10-13 | 2010-09-07 | International Business Machines Corporation | Computer software test coverage analysis |
US20080307391A1 (en) * | 2007-06-11 | 2008-12-11 | Microsoft Corporation | Acquiring coverage data from a script |
US7512933B1 (en) | 2008-01-27 | 2009-03-31 | International Business Machines Corporation | Method and system for associating logs and traces to test cases |
CN103207833B (zh) * | 2013-04-02 | 2016-04-06 | 北京邮电大学 | 软件测试中循环代码的处理方法与*** |
US9411708B2 (en) * | 2013-04-12 | 2016-08-09 | Wipro Limited | Systems and methods for log generation and log obfuscation using SDKs |
CN112363924B (zh) * | 2020-11-10 | 2023-09-29 | 中国平安人寿保险股份有限公司 | 基于有向图的文本覆盖率测试方法及相关设备 |
Family Cites Families (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
BR9205331A (pt) * | 1991-06-28 | 1994-06-21 | Ericsson Telefon Ab L M | Processo de estruturaçao e sistema de software para controlar uma central de telecomunicaçoes controlada por programa amazenado |
US5339430A (en) * | 1992-07-01 | 1994-08-16 | Telefonaktiebolaget L M Ericsson | System for dynamic run-time binding of software modules in a computer system |
US5517629A (en) * | 1992-08-26 | 1996-05-14 | Boland; R. Nick K. | Methods for analyzing computer program performance |
US5386568A (en) * | 1992-12-01 | 1995-01-31 | Yamaha Corporation | Apparatus and method for linking software modules |
US5748961A (en) * | 1993-07-12 | 1998-05-05 | Digital Equipment Corporation | Efficient method and apparatus for compiling and linking modules of computer code in a large software system |
US5732273A (en) * | 1995-08-11 | 1998-03-24 | Digital Equipment Corporation | System for monitoring compute system performance |
US5539907A (en) * | 1994-03-01 | 1996-07-23 | Digital Equipment Corporation | System for monitoring computer system performance |
US5933640A (en) * | 1997-02-26 | 1999-08-03 | Digital Equipment Corporation | Method for analyzing and presenting test execution flows of programs |
US5872957A (en) * | 1997-05-01 | 1999-02-16 | International Business Machines Corporation | Method for flexible simulation modeling of multi-component systems |
-
1998
- 1998-10-26 EP EP98961046A patent/EP1038221B1/fr not_active Expired - Lifetime
- 1998-10-26 WO PCT/DE1998/003133 patent/WO1999030232A1/fr active IP Right Grant
- 1998-10-26 DE DE59803103T patent/DE59803103D1/de not_active Expired - Fee Related
-
2000
- 2000-06-07 US US09/555,995 patent/US6694456B1/en not_active Expired - Fee Related
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101894073A (zh) * | 2010-08-17 | 2010-11-24 | 北京航空航天大学 | 基于控制流交集的缺陷自动定位装置及其自动定位方法 |
CN101894073B (zh) * | 2010-08-17 | 2011-11-16 | 北京航空航天大学 | 基于控制流交集的缺陷自动定位装置及其自动定位方法 |
Also Published As
Publication number | Publication date |
---|---|
US6694456B1 (en) | 2004-02-17 |
DE59803103D1 (de) | 2002-03-21 |
EP1038221A1 (fr) | 2000-09-27 |
WO1999030232A1 (fr) | 1999-06-17 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
DE69932371T2 (de) | Verschiebbare Instrumentationskennzeichen für die Prüfung und die Fehlerbeseitigung eines Computerprogramms | |
DE69226233T2 (de) | Quellenkodeanalysator | |
DE60308505T2 (de) | Verfahren und system zur automatischen prüfung von software | |
EP1723513B1 (fr) | Procede pour configurer un programme informatique | |
DE19650293C1 (de) | Verfahren zum Testen von Systemkomponenten eines objektorientierten Programms | |
DE69604347T2 (de) | Bestimmung der dynamischen Eigenschaften von Programmen | |
EP1038221B1 (fr) | Procede de surveillance de couverture de chemins lors de tests de logiciels | |
DE19729603A1 (de) | Fernkompilierung eines Quellencodes für eine Querentwicklung | |
DE19901329A1 (de) | Verfahren, Erzeugungsmodul, Server, Steuermodul und Speichermittel zum Erstellen von Validierungsregeln | |
EP1005216B1 (fr) | Procédé et système pour validation des données de configuration pour systèmes de télécommunication | |
EP1384152B1 (fr) | Procede de detection et d'enregistrement d'informations systeme et du deroulement dans des systemes logiciels a composants, distribues et fonctionnant en parallele | |
WO1997040442A1 (fr) | Procede et dispositif de commande pour une commande graphique d'operations dans un systeme de gestion d'un reseau | |
EP1128600A1 (fr) | Méthode pour établir un scénario de communication entre au minimum deux instances et un testeur de protocole associé | |
DE69322800T2 (de) | Verfahren zur Leistungsverbesserung in einem automatischen Testsystem | |
DE10056825C2 (de) | Verfahren, Vorrichtung und Computerprogramm zum Erzeugen eines Zufallstestcodes | |
EP0708941B1 (fr) | Procede permettant de tester un programme oriente objet | |
DE69333420T2 (de) | Verfahren und anordnung zum testen von diensten in einem telekommunikationssystem | |
DE69425894T2 (de) | Anordnung und Verfahren zum Erstellen von Software | |
DE3921628A1 (de) | Verfahren zur erzeugung von assemblern und/oder disassemblern fuer die beschreibung des maschinenbefehlssatzes eines mikroprozessorbausteins | |
DE102004058312B3 (de) | Verfahren zur automatischen Generierung von Implementierungen von generellen Testabläufen | |
EP1689152B1 (fr) | Dispositif et procédé de test de charge pour un réseau de télécommunication | |
DE69507653T2 (de) | Verfahren und Vorrichtung zur Erzeugung von Tests für elektronische Karten | |
DE10105729C1 (de) | Verfahren und System zur funktionsmäßigen Erweiterung einer Telekommunikationsanlage | |
EP0560342B1 (fr) | Méthode pour le débogage de programmes HDL | |
DE4426739A1 (de) | Testverfahren sowie Einrichtung zum Erzeugen von Test-Fällen, Testeinrichtung und Programm-Modul dafür |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PUAI | Public reference made under article 153(3) epc to a published international application that has entered the european phase |
Free format text: ORIGINAL CODE: 0009012 |
|
17P | Request for examination filed |
Effective date: 20000417 |
|
AK | Designated contracting states |
Kind code of ref document: A1 Designated state(s): DE FR GB |
|
17Q | First examination report despatched |
Effective date: 20001018 |
|
GRAG | Despatch of communication of intention to grant |
Free format text: ORIGINAL CODE: EPIDOS AGRA |
|
GRAG | Despatch of communication of intention to grant |
Free format text: ORIGINAL CODE: EPIDOS AGRA |
|
GRAH | Despatch of communication of intention to grant a patent |
Free format text: ORIGINAL CODE: EPIDOS IGRA |
|
GRAH | Despatch of communication of intention to grant a patent |
Free format text: ORIGINAL CODE: EPIDOS IGRA |
|
GRAA | (expected) grant |
Free format text: ORIGINAL CODE: 0009210 |
|
REG | Reference to a national code |
Ref country code: GB Ref legal event code: IF02 |
|
AK | Designated contracting states |
Kind code of ref document: B1 Designated state(s): DE FR GB |
|
REF | Corresponds to: |
Ref document number: 59803103 Country of ref document: DE Date of ref document: 20020321 |
|
GBT | Gb: translation of ep patent filed (gb section 77(6)(a)/1977) |
Effective date: 20020419 |
|
ET | Fr: translation filed | ||
PGFP | Annual fee paid to national office [announced via postgrant information from national office to epo] |
Ref country code: GB Payment date: 20021010 Year of fee payment: 5 |
|
PGFP | Annual fee paid to national office [announced via postgrant information from national office to epo] |
Ref country code: FR Payment date: 20021023 Year of fee payment: 5 |
|
PLBE | No opposition filed within time limit |
Free format text: ORIGINAL CODE: 0009261 |
|
STAA | Information on the status of an ep patent application or granted ep patent |
Free format text: STATUS: NO OPPOSITION FILED WITHIN TIME LIMIT |
|
26N | No opposition filed |
Effective date: 20021114 |
|
PG25 | Lapsed in a contracting state [announced via postgrant information from national office to epo] |
Ref country code: GB Free format text: LAPSE BECAUSE OF NON-PAYMENT OF DUE FEES Effective date: 20031026 |
|
GBPC | Gb: european patent ceased through non-payment of renewal fee |
Effective date: 20031026 |
|
PG25 | Lapsed in a contracting state [announced via postgrant information from national office to epo] |
Ref country code: FR Free format text: LAPSE BECAUSE OF NON-PAYMENT OF DUE FEES Effective date: 20040630 |
|
REG | Reference to a national code |
Ref country code: FR Ref legal event code: ST |
|
PGFP | Annual fee paid to national office [announced via postgrant information from national office to epo] |
Ref country code: DE Payment date: 20071025 Year of fee payment: 10 |
|
PG25 | Lapsed in a contracting state [announced via postgrant information from national office to epo] |
Ref country code: DE Free format text: LAPSE BECAUSE OF NON-PAYMENT OF DUE FEES Effective date: 20090501 |