Pycharm pro + behave, Debug for feature file

已回答

Hi

I am executing behave feature file *.feature with functions implementation etc in .py files, an it works fine.

What I want is execute feature file but use break point etc like for debuging normal py file. I tried but not work.

Is it possible somehow?

 

I use pycharm profesional 2017.1:

PyCharm 2017.1.5
Build #PY-171.4694.67, built on July 3, 2017
JRE: 1.8.0_112-release-736-b21 amd64
JVM: OpenJDK 64-Bit Server VM by JetBrains s.r.o
Windows 7 6.1

0

Hi Boguslaw Ziolo! Do you want to place breakpoints inside a feature file or steps implementation? Latter should work fine.

0
Avatar
Permanently deleted user

Actulally this makes me problem, I can make the break point but for using behave I write in the 'Terminal' --> python - m behave ... <file> because there is more information included then on normal Run.

Then break points are ignored.

Any sugestion for that ?

 

0
Avatar
Permanently deleted user

I have similar problem.

i usually run like: behave -t=some_tag in pyCharm terminal

I have breakpoints in other .py files.

Could not make use of Run or debug options.

Note: Our setup has prerequisite of running in virtual environment.

 

0

请先登录再写评论。