-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
REQ: Nested table templates #27
Comments
I see why this can be useful. Would it be acceptable if:
|
I believe I can address this request. But I fear a FitNesse update is needed. See unclebob/fitnesse#1103 |
Given the 3 limitations stated above I created a rough version of a fix Test would work something like:
Would that work? |
This is for totally acceptable, an improvement would be to remove the limitation:
Is my assumption right that this also requires that the nested table templates would need to be defined in the same scenariolibrary ? |
I don't think I know straight away how to remove that limitation. I believe I need to determine the parameters when the table is parsed, which requires the 'called table' to be parsed before this one. I don't think it has to be in the same scenario library. I believe a higher level scenario library (i.e. in a parent suite) would also work. |
The current solution is enough for me; |
|
I implemented a workaround (by using some reflection) so the change is not REQUIRED. |
What:
Why:
Alot more flexible, and less maintaining of tests;
Downside would be that names have to be unique over multiple templates
(current main reason need to add products, but in other test I need to remove products too, would like reuse the adding part)
Current work around:
The text was updated successfully, but these errors were encountered: