Answer the question
In order to leave comments, you need to log in
How to map a script file to a method implementation file?
Hello! I use lettuce + selenium to write autotests in the PyCharm environment.
I follow this manual https://habrahabr.ru/post/189778/
In the examples, all *.feature scripts refer to one *.py file where the test methods are implemented.
In my tests, I plan to create my own file with implementations for each script file, so as not to dump everything in one heap
. I need each script file to access and use methods only from its implementation file.
Example
script described in Auth.feature refers to methods found only in Auth.py
Auth.feature >Auth.py
script described in SendTicket.feature refers to methods found only in SendTicket.py
SendTicket.feature > SendTicket.py
etc.
How to make such a comparison?
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question