getgauge / gauge-python

Python language runner for Gauge

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ContinueOnFailure flag gives NameError

ckocaogullar opened this issue · comments

Description

ContinueOnFailure flag gives

NameError: name 'continue_on_failure' is not defined
thus naturally
'NoneType' object is not callable

Steps to reproduce

  1. Step implementation script:
@continue_on_failure()
@step("test failure")
def test():
	print ("test")
  1. Specification script:
# test

## testing

* test failure
  1. Run the specification script

Information that will help us debug

  • Gauge version 1.0.3
  • Gauge Python plugin version 0.0.7
  • Python version 2.7.10
  • getgauge package version, run pip3 show getgauge to get it 0.3.4
  • OS information MacOS Mojave 10.14.2