EP3608785B1 - Schlüsselwortgestützte anforderungen - Google Patents

Schlüsselwortgestützte anforderungen

Info

Publication number
EP3608785B1
EP3608785B1 EP18188326.5A EP18188326A EP3608785B1 EP 3608785 B1 EP3608785 B1 EP 3608785B1 EP 18188326 A EP18188326 A EP 18188326A EP 3608785 B1 EP3608785 B1 EP 3608785B1
Authority
EP
European Patent Office
Prior art keywords
keywords
database
test
requirements
phrases
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.)
Active
Application number
EP18188326.5A
Other languages
English (en)
French (fr)
Other versions
EP3608785C0 (de
EP3608785A1 (de
Inventor
Peter Nicke
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Piro Systems Engineering GmbH
Original Assignee
Piro Systems Engineering GmbH
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Piro Systems Engineering GmbH filed Critical Piro Systems Engineering GmbH
Priority to EP18188326.5A priority Critical patent/EP3608785B1/de
Publication of EP3608785A1 publication Critical patent/EP3608785A1/de
Application granted granted Critical
Publication of EP3608785C0 publication Critical patent/EP3608785C0/de
Publication of EP3608785B1 publication Critical patent/EP3608785B1/de
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • G—PHYSICS
    • G06—COMPUTING OR CALCULATING; COUNTING
    • G06F—ELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00—Error detection; Error correction; Monitoring
    • G06F11/36—Prevention of errors by analysis, debugging or testing of software
    • G06F11/3668—Testing of software
    • G06F11/3672—Test management
    • G06F11/3684—Test management for test design, e.g. generating new test cases

Definitions

  • the invention relates to the products and process as per the first portion of the independent claims.
  • TTCN Testing and Test Control Notation
  • SIP Session Initiation Protocol
  • VoIP Voice over IP
  • DMR Digital Mobile Radio
  • HiperMAN WiMax
  • IMS 3GPPTM IP Multimedia Subsystem
  • US 2014/033175 A (LEE CHUNG-I [TW] ET AL) 30.01.2014 discloses a computer-implemented method comprising defining user requirements for testing a software program, syntax keywords of a test script, and a test template for creating test cases driven by the keywords.
  • WO 2007/137082 A (CAPTARIS INC [US]; ROTH RICK R [US]) 29.11.2007 discloses a wizard.
  • CN 102929680 A (ISOFT INFRASTRUCTURE SOFTWARE CO., LTD) 13.02.2013 discloses a method, a device and a system for converting a TTCN-3 script into a Java source code to compile the TTCN-3 script.
  • a translator of the TTCN-3 script is constructed, analyzes and verifies a test object file, and then translates the TTCN-3 script into a Java file according to predefined translation rules.
  • a Java runtime support library is constructed according to the translation rules of the translator, supports the foundation classes quoted in a translation scheme, and completes the execution of the code generated by translation and the recording of the execution results.
  • the complete Java source code in accordance with a TTCN-3 semanteme can be acquired through the integration of the code translated by the translator and the code of the runtime support library.
  • Keyword-driven testing is a test case specification approach that is commonly used to support test automation and whose fundamental idea is to provide a set of building blocks - referred to as keywords - that may be used to create manual or automated test cases without detailed knowledge of programming or test tool expertise. Keyword-driven testing aims to provide a basic, unambiguous set of keywords comprehensive enough so that most, if not all, required test cases can be entirely composed of said keywords.
  • the vocabulary included in these dictionaries or libraries of keywords is, therefore, a reflection of the language and level of abstraction used to write the test cases and not of any standard computer programming language. Practical applications may be gathered from HAMETNER, Reinhard, et al. Agile testing concepts based on keyword-driven testing for industrial automation systems. IECON 2012 - 38th Annual Conference on IEEE Industrial Electronics Society. 25.10.2012, p.3727-3732 .
  • the invention combines established syntax rules with an innovative approach to the semantics of specifications without degrading their readability.
  • the method (10) illustrated by Figure 1 extends upon the concept of keyword-driven testing by making a general proposal for the realization of the keywords, which in this context are referred to as "phrases". Using these phrases, system states, signals, activities, sequences of actions, etc. can be described easily and clearly.
  • the outlined approach is not limited to creating test specifications (12) but may equally be applied to the specification of requirements (11). Its focus is on readability and ease of use, allowing for the method (10) to be employed directly and efficiently without extensive training or expertise.
  • the proposed notation differs from formal languages in that the vocabulary is unrestricted and may be extended by any user. This creates a living language that constantly evolves and improves.
  • An underlying database (18) can be filled with any keywords including their corresponding translation into multiple domains (13, 14, 15).
  • Such domains (13, 14, 15) might include, for example, hardware or software "in the loop” (13), vehicle driver instructions (14), messaging (15) over a signal network such as Flexray or Ethernet, or system state.
  • a phrase optionally comprises a class (e. g., "state”, “coding”, or “parameters”), system (e. g., a specific control unit or “vehicle”), and argument (e. g., the value of a variable).
  • a fully qualified phrase takes the following form: "Class::System::KeyWord[Argument]”.
  • a desired steering angle to be retained as a coding value may be described as follows: "Coding::EPS::SteerAngleThreshold[20°]".
  • EPS electrical power steering
  • the repository (18) created throughout the specification phase can be easily distributed across project teams, departments, and external cooperation partners along with the actual specification (12). It essentially defines a meta-model, allowing for the concrete syntax and semantics to be adapted to project-specific requirements.
  • test case (16) may be regenerated "at the push of a button" without introducing significant time delay or resource cost.
  • the inventive method (10) further supports assessing the quality of requirements (11) and test specifications (12). Based on the syntax and semantics of the proposed language, key performance indicators (KPIs) for evaluation can be defined. This aids users in optimizing specifications (12), avoiding inconsistencies, and managing the overall project according to its established project status.
  • KPIs key performance indicators
  • requirements entirely composed of known phrases may be defined as high-quality; requirements only partly composed of known phrases may be considered in need of improvement; and requirements devoid of known phrases may be attributed a low or unknown quality.
  • the repository contains comprehensive definitions for all those parameters and, on the other hand, that no parameters remain unused throughout the specification in its entirety.
  • An embodiment of the invention significantly simplifies those processes, allowing small changes to a requirement (11) to reflect in the test specifications (12) and test cases (16) without delay.
  • the keywords can be translated into various domains (13, 14, 15), such as from a general test specification (12) into hardware or software "in the loop” (13), driver instructions (14), or bus messaging (15). With manual conversion into these individual domains (13, 14, 15) thus becoming obsolete, costs may be saved, mistakes avoided, and development dynamics increased.
  • test script implementation can be standardized, programming rules defined, and commentary added automatically.
  • bidirectional traceability between test specification and test implementation may be automated.
  • each phrase can be customized using further attributes such as descriptions or search terms.
  • an autocomplete tool connected to the database (18) makes it easy to find the correct keyword.
  • the phrases, upon the keywords having been entered, are parameterized by means of a software wizard.
  • a preferred embodiment provides a search function for phrases and examples of their application. After specifying the requirements (11), the wizard automatically transfers any new requirement (11) to the target application and stands by until being invoked again using a convenient key combination. However, the use of tooling remains optional, permitting each user to decide for herself how to enter phrases.
  • the invention is applicable, inter alia, throughout the electronics, software, and automotive industries.

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)
  • Stored Programmes (AREA)
  • Debugging And Monitoring (AREA)

Claims (9)

  1. Computerimplementiertes Verfahren (10), umfassend das Definieren von Anforderungen (11) für ein zu testendes System, das Umwandeln der Anforderungen (11) in funktionale Spezifikationen (12) unter Verwendung dokumentierter Schlüsselwörter (26) und das Erzeugen von Testfällen (16) für das System automatisch unter Verwendung einer Datenbank (18, 28), in der die Schlüsselwörter (26) gespeichert sind, wobei die Testfälle (16) durch die funktionalen Spezifikationen (12) als Testspezifikationen erzeugt werden. unter Verwendung der Schlüsselwörter (26) und unter Verwendung der funktionalen Spezifikationen (12) als Testspezifikationen automatisches Erzeugen von Testfällen (16) für das System unter Verwendung einer Datenbank (18, 28), in der die Schlüsselwörter (26) gespeichert sind,
    wobei
    die Anforderungen (11) durch Phrasen definiert werden, die die Schlüsselwörter (26) enthalten und syntaktisch aus einer hypothetischen Aktion auf das System und einer erwarteten Reaktion des Systems auf die Aktion konstruiert werden, wobei die Aktion und die Reaktion durch die Phrasen ausgedrückt werden, nach Eingabe der Schlüsselwörter (26) die Phrasen mittels (24) eines Software-Assistenten parametrisiert werden und
    die Schlüsselwörter (26) und Phrasen in der Datenbank (18, 28) dokumentiert werden,
    wobei
    die Datenbank (18, 28) ferner Übersetzungen der Schlüsselwörter (26) in verschiedene Testdomänen (13, 14, 15) speichert, die Anweisungen für Fahrzeugführer (14) umfassen, und eine kollaborative Bibliothek ist, die zusammen mit den Spezifikationen (12) verteilt wird,
    die Schlüsselwörter (26) durch vorangestellte System- und Klassenbezeichner qualifiziert werden und
    bei der Definition der Anforderungen (11) die Schlüsselwörter (26) während der Eingabe automatisch unter Verwendung der Datenbank (18, 28) durch strukturierte Abfragen in diese vervollständigt werden.
  2. Verfahren (10) gemäß Anspruch 1,
    dadurch gekennzeichnet, dass
    die verschiedenen Testdomänen (13, 14, 15) ferner Hardware oder Software in einer Schleife (13) oder Eingangs- und Ausgangssignale (15) umfassen, die beispielsweise über ein Netzwerk wie Flexray oder Ethernet übertragen werden.
  3. Datenverarbeitungsvorrichtung (20) mit einem Prozessor, der so konfiguriert ist, dass er das Verfahren (10) nach Anspruch 1 oder Anspruch 2 ausführt.
  4. Vorrichtung (20) gemäß Anspruch 3,
    dadurch gekennzeichnet, dass
    ein Editor (21), vorzugsweise einschließlich des Assistenten, mit der Datenbank (18, 28) verbunden ist.
  5. Vorrichtung (20) gemäß Anspruch 4,
    gekennzeichnet durch
    einen Zerleger (22) und einen Datensequenzer (23), die mit der Datenbank (18, 28) und dem Editor (21) verbunden sind.
  6. Vorrichtung (20) gemäß Anspruch 5,
    gekennzeichnet durch
    ein Mittel (24), das mit der Datenbank (18, 28), dem Zerleger (22) und dem Datensequenzer (23) verbunden ist, um die Schlüsselwörter (26) und Daten (29) in Skripte (27) zu übersetzen, die die Testfälle (16) innerhalb der verschiedenen Testdomänen (13, 14, 15) implementieren.
  7. Vorrichtung (20) gemäß Anspruch 6,
    dadurch gekennzeichnet, dass
    die Mittel (24) an eine bestimmte Testumgebung (25) angepasst sind.
  8. Computerprogramm, das Anweisungen umfasst, die, wenn das Programm von einem Computer (20) ausgeführt wird, den Computer (20) veranlassen, das Verfahren (10) nach Anspruch 1 auszuführen.
  9. Datenträger (29) mit dem Programm nach Anspruch 8.
EP18188326.5A 2018-08-09 2018-08-09 Schlüsselwortgestützte anforderungen Active EP3608785B1 (de)

Priority Applications (1)

Application Number Priority Date Filing Date Title
EP18188326.5A EP3608785B1 (de) 2018-08-09 2018-08-09 Schlüsselwortgestützte anforderungen

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
EP18188326.5A EP3608785B1 (de) 2018-08-09 2018-08-09 Schlüsselwortgestützte anforderungen

Publications (3)

Publication Number Publication Date
EP3608785A1 EP3608785A1 (de) 2020-02-12
EP3608785C0 EP3608785C0 (de) 2026-02-18
EP3608785B1 true EP3608785B1 (de) 2026-02-18

Family

ID=63404963

Family Applications (1)

Application Number Title Priority Date Filing Date
EP18188326.5A Active EP3608785B1 (de) 2018-08-09 2018-08-09 Schlüsselwortgestützte anforderungen

Country Status (1)

Country Link
EP (1) EP3608785B1 (de)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115617680A (zh) * 2022-10-28 2023-01-17 中国农业银行股份有限公司 用户体验测试案例生成方法、装置、设备及存储介质

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080109475A1 (en) * 2006-10-25 2008-05-08 Sven Burmester Method Of Creating A Requirement Description For An Embedded System

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2007137082A2 (en) * 2006-05-16 2007-11-29 Captaris, Inc. Improved software testing
US20080244523A1 (en) * 2007-03-27 2008-10-02 Tim Kelso Program Test System
CN103577168A (zh) * 2012-07-27 2014-02-12 鸿富锦精密工业(深圳)有限公司 测试用例创建系统及方法
CN102929680B (zh) 2012-10-19 2016-03-02 普华基础软件股份有限公司 一种将TTCN-3脚本转换为Java源代码的方法,装置和系统
US9396098B2 (en) * 2014-03-26 2016-07-19 Mckesson Financial Holdings Apparatuses, methods, and computer program products for conducting automated tests

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080109475A1 (en) * 2006-10-25 2008-05-08 Sven Burmester Method Of Creating A Requirement Description For An Embedded System

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
HUI WU: "GRAMMAR-DRIVEN GENERATION OF DOMAIN-SPECIFIC LANGUAGE TESTING TOOLS USING ASPECTS", PHD DISSERTATION - UNIVERSITY OF ALABAMA, BIRMINGHAM, 1 January 2007 (2007-01-01), BIRMINGHAM, University of ALABAMA, pages 1 - 189, XP055027122, Retrieved from the Internet <URL:http://www.cis.uab.edu/softcom/dissertations/HuiWu.pdf> [retrieved on 20120514] *

Also Published As

Publication number Publication date
EP3608785C0 (de) 2026-02-18
EP3608785A1 (de) 2020-02-12

Similar Documents

Publication Publication Date Title
CN111459889B (zh) 一种用于物联网平台的设备数据模型生成方法和装置
CN118796180B (zh) 一种代码的自动生成方法、装置、设备及介质
CN105718251A (zh) 多语言sdk自动化实现方法及系统
EP3996009B1 (de) Verfahren und vorrichtung zur umwandlung eines schemas im rahmen von tiefenlernen und computerspeichermedium
CN110362317A (zh) 一种代码转换方法、装置和存储介质
Gelžinytė et al. wfl Python toolkit for creating machine learning interatomic potentials and related atomistic simulation workflows
Manduchi et al. MARTe2 and MDSplus integration for a comprehensive fast control and data acquisition system
CN118034764A (zh) 一种用于管理聚变实验配置参数的方法
CN119576304A (zh) 代码生成方法及相关设备
EP4330810A1 (de) Codeinjektion aus absicht aus natürlicher sprache
Santos et al. Modeling in agile software development: Decomposing use cases towards logical architecture design
EP3608785A1 (de) Schlüsselwortgestützte anforderungen
Bardaro et al. From models to software through automatic transformations: An AADL to ROS end-to-end toolchain
EP4231204A1 (de) System zur entwicklung und ausführung von anwendungen in hybriden quantencomputernetzwerken
CN117806652A (zh) 组件转换系统构建方法、组件转换方法、装置和电子设备
Samson et al. Automatic generation of test oracles from component based software architectures
US11782747B2 (en) System and method for notebook processing to handle job execution in cross-cloud environment
EP3851976A1 (de) Ontologie-getriebene datenbank
Stefanescu et al. Using the UML testing profile for enterprise service choreographies
Rask et al. Advanced vdm support in visual studio code
Kotlyarov et al. Technology and tools for developing industrial software test suites based on formal models and implementing scalable testing process on supercomputer
Proença et al. Caos: A Reusable Scala Web Animator of Operational Semantics (Extended With Hands-On Tutorial)
CN112052012A (zh) 基于xslt和xsd的代码自动生成方法和设备
Kegel Automating Feature Requests for User-Driven Model Evolution at Runtime
Tran et al. A Study on the Application of Large Language Models for Library Security Testing Under Low-Resource Conditions

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

STAA Information on the status of an ep patent application or granted ep patent

Free format text: STATUS: THE APPLICATION HAS BEEN PUBLISHED

AK Designated contracting states

Kind code of ref document: A1

Designated state(s): AL AT BE BG CH CY CZ DE DK EE ES FI FR GB GR HR HU IE IS IT LI LT LU LV MC MK MT NL NO PL PT RO RS SE SI SK SM TR

AX Request for extension of the european patent

Extension state: BA ME

STAA Information on the status of an ep patent application or granted ep patent

Free format text: STATUS: REQUEST FOR EXAMINATION WAS MADE

17P Request for examination filed

Effective date: 20200722

RBV Designated contracting states (corrected)

Designated state(s): AL AT BE BG CH CY CZ DE DK EE ES FI FR GB GR HR HU IE IS IT LI LT LU LV MC MK MT NL NO PL PT RO RS SE SI SK SM TR

STAA Information on the status of an ep patent application or granted ep patent

Free format text: STATUS: EXAMINATION IS IN PROGRESS

17Q First examination report despatched

Effective date: 20211001

GRAP Despatch of communication of intention to grant a patent

Free format text: ORIGINAL CODE: EPIDOSNIGR1

STAA Information on the status of an ep patent application or granted ep patent

Free format text: STATUS: GRANT OF PATENT IS INTENDED

GRAS Grant fee paid

Free format text: ORIGINAL CODE: EPIDOSNIGR3

RIC1 Information provided on ipc code assigned before grant

Ipc: G06F 11/36 20060101AFI20251209BHEP

Ipc: G06F 11/3668 20250101ALI20251209BHEP

GRAA (expected) grant

Free format text: ORIGINAL CODE: 0009210

STAA Information on the status of an ep patent application or granted ep patent

Free format text: STATUS: THE PATENT HAS BEEN GRANTED

INTG Intention to grant announced

Effective date: 20251218

AK Designated contracting states

Kind code of ref document: B1

Designated state(s): AL AT BE BG CH CY CZ DE DK EE ES FI FR GB GR HR HU IE IS IT LI LT LU LV MC MK MT NL NO PL PT RO RS SE SI SK SM TR

REG Reference to a national code

Ref country code: CH

Ref legal event code: F10

Free format text: ST27 STATUS EVENT CODE: U-0-0-F10-F00 (AS PROVIDED BY THE NATIONAL OFFICE)

Effective date: 20260218

Ref country code: GB

Ref legal event code: FG4D

REG Reference to a national code

Ref country code: IE

Ref legal event code: FG4D

U01 Request for unitary effect filed

Effective date: 20260218

U07 Unitary effect registered

Designated state(s): AT BE BG DE DK EE FI FR IT LT LU LV MT NL PT RO SE SI

Effective date: 20260224