ETSI's Bug Tracker |
Anonymous | Login | Signup for local Mantis account | 17-05-2024 13:49 IST |
Main | My View | View Issues | Change Log | Roadmap | Monitor project |
View Issue Details [ Jump to Notes ] | [ Issue History ] [ Print ] | ||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||
0007888 | Part-1 Metamodel | [TDL] New Feature | public | 06-12-2019 11:58 | 31-05-2020 15:11 | ||||
Reporter | Andreas Ulrich | ||||||||
Assigned To | Philip Makedonski | ||||||||
Priority | normal | Severity | feature | Reproducibility | have not tried | ||||
Status | resolved | Resolution | no change required | ||||||
Platform | OS | OS Version | |||||||
Product Version | [TDL] Part-1 V1.4.1 | ||||||||
Target Version | Fixed in Version | ||||||||
Summary | 0007888: Test data specification for parameterised test descriptions | ||||||||
Description | When considering parameterised test descriptions at top level (i.e. TDs that are not called from any other TD), there is a need to specify parameter values to make them executable operationally. The issue is related to keyword-driven testing, which technologies that are competitive to TDL deploy, e.g. Cucumber, SpecFlow, Robot Framework. Their approach is usually to specify data tables that are read at runtime to feed the data into tests for execution. A similar approach shall be investigated for TDL. | ||||||||
Tags | No tags attached. | ||||||||
Attached Files | |||||||||
Notes | |
(0015610) Finn Kristoffersen (developer) 31-01-2020 08:16 |
For TDL the solution is to specify a top level test description that sequentially invokes the parameterised test description over a collection of data parameters. Hence there is no need for change to TDL-MM. However, an annex with an example illustrating specifying this type of testing may be included. |
(0015612) Philip Makedonski (manager) 31-01-2020 15:26 |
Some more background: A data type embedding the parameters for a test description can be used to encapsulate the relevant combinations of parameters into a collection. A test description can take that collection as input and invoke the original test description in a bounded loop iterating over the elements of the collection which are in turn parameter combinations. After evaluating the implications, even a shortcut construct will not provide substantial benefit as the data type integrating the input parameters still needs to be defined, along with at least one instances (or inline instances) defining the combinations, along with a collection type, along with a collection instance aggregating the individual combinations. The overhead and complexity is substantial and will need to be repeated for every test description with different input parameters. If such collections are reused frequently then it perhaps makes some sense. A more specific use case is necessary to justify the effort for the realisation of this feature. For the time being, using test description references with parameters covers the basic use case. Different data mappings can provide further flexibility. |
(0015660) Philip Makedonski (manager) 31-05-2020 15:11 |
Related examples added in TR 103 119 to illustrate how the use case can be addressed with existing facilities. |
Issue History | |||
Date Modified | Username | Field | Change |
06-12-2019 11:58 | Andreas Ulrich | New Issue | |
06-12-2019 11:58 | Andreas Ulrich | Status | new => assigned |
06-12-2019 11:58 | Andreas Ulrich | Assigned To | => Philip Makedonski |
31-01-2020 08:16 | Finn Kristoffersen | Note Added: 0015610 | |
31-01-2020 08:16 | Finn Kristoffersen | Resolution | open => no change required |
31-01-2020 15:26 | Philip Makedonski | Note Added: 0015612 | |
31-05-2020 15:11 | Philip Makedonski | Note Added: 0015660 | |
31-05-2020 15:11 | Philip Makedonski | Status | assigned => resolved |
MantisBT 1.2.14 [^] Copyright © 2000 - 2024 MantisBT Team |