Add bimtester definitions related to model setup tests

This commit is contained in:
Dion Moult
2020-01-16 17:55:37 +11:00
parent d9805185ee
commit e077235eee
2 changed files with 115 additions and 32 deletions
+1 -1
View File
@@ -38,7 +38,7 @@ def generate_report():
steps = []
system_out = testcase.findall('system-out')[0].text.splitlines()
for line in system_out:
if line.strip()[0:5] in ['Given', 'Then ', 'When ']:
if line.strip()[0:4] in ['Give', 'Then', 'When', 'And ']:
is_success = True if ' ... passed in ' in line else False
steps.append({
'name': line.strip().split(' ... ')[0],