#20: suggestion: add suppport for dynamic template functions
-------------------------+-----------------------
Reporter: olichtne | Owner: somebody
Type: enhancement | Status: new
Priority: major | Milestone:
Component: component1 | Version:
Keywords: | Blocked By:
Blocking: |
-------------------------+-----------------------
Template functions could be dynamically loaded in a similar way to how
Tests are loaded. We could create a new directory e.g. Functions/ where
they would be located. I discussed this with Jirka when we talked on the
topic of directly using python commands in the recipes. It would also make
template functions more universal and flexible.
Implementation of this shouldn't be too complicated. But the more
important question is how could this be used. The problem I see here is
that currently template functions are used to access internal data of the
controller. However the dynamically loaded functions shouldn't be able to
do this because they either wouldn't see the internal data structures or
it would be too confusing if they somehow did.
If you have any suggestions/ideas of use cases or on the other hand you
think this is a bad idea please add a comment.
--
Ticket URL: <
https://fedorahosted.org/lnst/ticket/20>
lnst <
http://example.org/>
My example project