admin管理员组文章数量:1122832
For a pre-processing (cross-cutting) task, I would like to obtain a list of all selected "Features" already in the before_all hook. However, I only get very basic data via the Context there, like "Context.config". Where, as far as I can see, only an in-memory representation of the run configuration (command line parameters) is accessible.
I mean, behave must have such a list eventually since this is what it processes. How can I access it?
Background: I want to extract some data out of all selected Features and perform a central, expensive pre-processing in the before_all hook.
本文标签: bddPython behave get list of selected features in beforeallStack Overflow
版权声明:本文标题:bdd - Python behave: get list of selected features in before_all - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1736296126a1929720.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论