[
https://issues.jboss.org/browse/DROOLS-4162?page=com.atlassian.jira.plugi...
]
Daniele Zonca commented on DROOLS-4162:
---------------------------------------
[~zhutaojiajia]
Sorry but I don't think you are covering the requirement entirely.
- How is the user supposed to specify multiple instances?
- How specify the mapping?
Let me recap the steps:
- user creates a new test scenario
- user wants to specify some data to be used in every scenario
- user needs to defined the mapping for each object
- user can specify multiple instances for each object
Here is an example:
User wants to create multiple scenarios and each of them begin with the same set of data
i.e. 4 available people. In the current implementation he needs to create 4 instances (one
for each person) and specify the same values for each row but he would like to do it only
once.
Background concept should allow him to do this mapping and define the data only once and
this will be applied to each scenario as additional GIVEN data.
Scenario Test: UX for background data
-------------------------------------
Key: DROOLS-4162
URL:
https://issues.jboss.org/browse/DROOLS-4162
Project: Drools
Issue Type: Task
Components: Scenario Simulation and Testing
Reporter: Daniele Zonca
Assignee: Tao Zhu
Priority: Major
Labels: ScenarioSimulation, UX, UXTeam
Attachments: design1.png, design2.png, design3.png
As user I want to be able to specify a set of data shared by all the scenarios inside a
simulation. All the data will be not editable.
Please refer to Cucumber background feature for details
https://cucumber.io/docs/gherkin/reference/#background
--
This message was sent by Atlassian Jira
(v7.12.1#712002)