mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-21 11:53:44 +00:00
Include Behave configuration
This commit is contained in:
@@ -0,0 +1,2 @@
|
|||||||
|
[behave.userdata]
|
||||||
|
runner.continue_after_failed_step = true
|
||||||
@@ -1,6 +1,9 @@
|
|||||||
|
from behave.__main__ import main as behave_main
|
||||||
import xml.etree.ElementTree as ET
|
import xml.etree.ElementTree as ET
|
||||||
import pystache
|
import pystache
|
||||||
|
|
||||||
|
behave_main(['features', '--junit', '--junit-directory', 'junit/'])
|
||||||
|
|
||||||
with open('junit/template.html') as template:
|
with open('junit/template.html') as template:
|
||||||
root = ET.parse('junit/TESTS-example.xml').getroot()
|
root = ET.parse('junit/TESTS-example.xml').getroot()
|
||||||
data = {
|
data = {
|
||||||
|
|||||||
Reference in New Issue
Block a user