behave-Python testing on non OOP python code

Skip to first unread message

Babu George

Mar 29, 2019, 6:57:36 AM3/29/19
to Behaviour Driven Development
Hi Team,
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.

Babu George
Reply all
Reply to author
0 new messages