testIT-LivingDoc / livingdoc-core

This is the GitHub Repository of testIT LivingDoc core components - The exclusive solution to bring your acceptance tests to Atlassian Confluence.
https://testit-livingdoc.atlassian.net/wiki
GNU General Public License v3.0
34 stars 18 forks source link

ListOf Interpreter does not invoke @BeforeTable annotated methods #40

Open slu-it opened 8 years ago

slu-it commented 8 years ago

According to the documentation only the RuleFor and DecitionTable interpreters invoke @BeforeTable annotated methods. The ListOf seams to be a similar type of table but does not invoke these methods (at least in our project (LD v1.1.4). Is there a special reason for that or just an oversight?

Drakojin commented 8 years ago

This is a remnant of the GreenPepper days. ListOf and its siblings are another type than rulefor and decision -> CollectionInterpreter

It has to be evaluated if you can implement @BeforeTable within the sub-classes or if you have to implement it for all collections (which may not be desired)