Closed mixxorz closed 9 years ago
As a side note, #1 will automatically get fixed (probably) if we go about this method of calling behave from Django. The method is essentially calling behave's main() function from our management command, instead of running the behave runner ourselves.
So apparently, and I only just found out about this now, you can specify your features directories (among other things) using behave's configuration file. I found out about this while reading the source code, trying to see if there's a less hacky way of executing behave progmatically.
If everything works out well, you'd just need to make a .behaverc in your project's root directory, and behave will get its settings from there.