Search code examples
pythonpython-3.xpython-behave

Print Python behave context to console


Is it possible to print the Pytyhon behave library context to console? I'm able to print individual attributes with context.foo but would like to see what all attributes the context has.


Solution

  • This give me what I was looking for:

    print(dir(context))