You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to generate multiple entities in my test and defining relations between them with the entity Context:
Feature: Create relations
Scenario: oneToMany
Given the following User:
| firstname |
| John |
And the following Trip:
| country | date |
| France | 2016 |
To make the relation between User and Trip I can do this :
Feature: Create relations
Scenario: oneToMany
Given the following User:
| firstname |
| John |
And the following Trip:
| country | date | traveler |
| France | 2016 | John |
But the firstname field is not unique and i cant choose a specific entity when generating the relation.
I am trying to do something like in Alice :
Feature: Create relations
Scenario: oneToMany
Given the following User:
| @ | firstname |
| @director | John |
| @customer | John |
And the following Trips:
| country | Date | traveler |
| France | 2016 | @director |
I dont use fixtures to generate entities because i want test generated entities in my scenario.
Am I missing something or i can submit a pull request for this?
I'm trying to generate multiple entities in my test and defining relations between them with the entity Context:
To make the relation between User and Trip I can do this :
But the firstname field is not unique and i cant choose a specific entity when generating the relation.
I am trying to do something like in Alice :
I dont use fixtures to generate entities because i want test generated entities in my scenario.
Am I missing something or i can submit a pull request for this?