How does the IDE tell apart if a .feature file is behave or behat?
I have a mono-repository project that contains several micro-services. One of the services is a PHP application that contains behat tests with a .feature file extension, another service is a python application that contains behave tests, also with a .feature extension. I think i can remember that there was a time where the IDE (ultimate) was somehow able to distinguish and fired the correct command whenever i executed a test-case from the IDE, but since some versions that doesnt work anymore, the behat tests are recognized as behave tests. Is there a way to tell the IDE something like ".feature under this path is behat, on that other path is behave"? Or can i simply use an alternative file-extension maybe?
Ahoi!
Please sign in to leave a comment.
You can create required test configs manually using Edit configurations menu at the top
Thanks for the info :) Im aware of that, i was more wondering if its somehow possible to use behat and behave in the same project and have the shortcuts like ctrl+shift+f10 (run from context of cursor) working.
If the answer is "no", thats also fine :)
No one has explicitly tested this, I'm afraid. This should be working and if it is not - you're welcome to report this to our tracker :)
I don't see any similar reports so far.