Open Hubbitus opened 5 years ago
Thanks for the feedback. You can't run a Nimoy spec like an ordinary unittest in PyCharm as I've hadn't had the time to write a pycharm plugin yet
Initially I ask workarounds without write plugins. Is it really possible?
As temporary workaround it may be run similarly to https://aditamasblog.wordpress.com/2018/07/26/setting-up-pycharm-community-edition-to-work-with-python-behave/, so providing venv/bin/nimoy
in script path
parameter in Run/Debug configurations
dialog
Yes, that's a fine workaround
First very thanks for creating such framework. I'm big fan of Spock and DDT in Java/Groovy world. I try
nimoy
and it looks very promissing, but I have problem run its code in PyCharmVersion: 0.0.1b7
Said I have code:
If I run in command-line in venv I got expected output:
But when I run it in PyCharm I got error:
It is reasonably expected. But may be it is possible hook such execution without writing heavy Idea plugin and so on? F.e. what if create and import variables like
given
,expect
,when
,then
, etc?