When I try step three of below tutorial: https://behave.readthedocs.io/en/latest/tutorial.html
"Run behave"
Using terminal on vscode: I just type "behave
" and my feature files run properly.
However, when I use iPython console on Spyder, getting below error-
File "<ipython-input-20-35bd367acbcb>", line 1, in <module>
behave
NameError: name 'behave' is not defined
Is it something to do with the python interpreter being used? Also features file are run easily on Pycharm. Then why not Spyder?
behave is not a python command, it's a terminal (bash) command. IPython is a python terminal- meaning it will run python code not bash commands