Include Behave configuration

This commit is contained in:
Dion Moult
2019-10-14 18:27:17 +11:00
parent f21fac9edc
commit 2b34d66ca4
2 changed files with 5 additions and 0 deletions
+2
View File
@@ -0,0 +1,2 @@
[behave.userdata]
runner.continue_after_failed_step = true
+3
View File
@@ -1,6 +1,9 @@
from behave.__main__ import main as behave_main
import xml.etree.ElementTree as ET
import pystache
behave_main(['features', '--junit', '--junit-directory', 'junit/'])
with open('junit/template.html') as template:
root = ET.parse('junit/TESTS-example.xml').getroot()
data = {