I am trying to automate testing of some application code (already developed) with Jenkins pipeline.
I have a very basic question. The question is "does behave-python support, code written in structured language, NOT object oriented.
I know that in case of object oriented python, the @given step will initiate a context and we create an object. We can invoke the implemented methods using this object.
But in case of a structured script, what we will do in the @given step ? How will I invoke a function and test in my script from the @given step?
Please help me.