Behave - Behave.ini file not loaded
Answered
Hi,
When debugging a BEHAVE script under PyCharm then the config file "behave.ini" is not loaded.
I am using that way to pass some user data to my context.
The only way to get my user data available is to use the overload "-D" in the Params of my PyCharm Run/Debug Configuration but this is not what I need.
If I use behave in command line then the "behave.ini" file is loaded.
Is there something special to do to get the behave.ini file loaded under PyCharm? Is this a bug? or an opportunity for improvement?
Versions used:
- PyCharm Professionnal 2016.3.1
- Behave 1.2.5
Please sign in to leave a comment.
In order to load the behave.ini config file, you'll have to edit the run/debug configuration.
Make sure the working directory will point to the directory of your behave.ini config file.