From 3791dd3168ddd6dfbac9f35567ecbfecf3efd902 Mon Sep 17 00:00:00 2001 From: spo Date: Mon, 21 Dec 2015 17:01:59 +0300 Subject: [PATCH] Add Squish test for the issue #1157 --- test.squish/objects_salome.map | 16 +++ .../shared/steps/steps.py | 126 ++++++++++++++++++ .../tst_1157/test.feature | 15 +++ .../suite_FEATURE_PARAMETERS/tst_1157/test.py | 8 ++ 4 files changed, 165 insertions(+) create mode 100644 test.squish/suite_FEATURE_PARAMETERS/tst_1157/test.feature create mode 100644 test.squish/suite_FEATURE_PARAMETERS/tst_1157/test.py diff --git a/test.squish/objects_salome.map b/test.squish/objects_salome.map index 79fb2b4cb..a707ae4f4 100644 --- a/test.squish/objects_salome.map +++ b/test.squish/objects_salome.map @@ -31,11 +31,16 @@ :Center.Y _ModuleBase_ParamSpinBox_2 {container=':Arc.Center_QGroupBox' leftWidget=':Center.Y _QLabel_2' type='ModuleBase_ParamSpinBox' unnamed='1' visible='1'} :Center.Y _QLabel {container=':Circle.Center_QGroupBox' text='Y ' type='QLabel' unnamed='1' visible='1'} :Center.Y _QLabel_2 {container=':Arc.Center_QGroupBox' text='Y ' type='QLabel' unnamed='1' visible='1'} +:Center.qt_spinbox_lineedit_QLineEdit {container=':Circle.Center_QGroupBox' name='qt_spinbox_lineedit' type='QLineEdit' visible='1'} +:Center.qt_spinbox_lineedit_QLineEdit_2 {container=':Circle.Center_QGroupBox' name='qt_spinbox_lineedit' occurrence='2' type='QLineEdit' visible='1'} +:Center.qt_spinbox_lineedit_QLineEdit_3 {container=':Arc.Center_QGroupBox' name='qt_spinbox_lineedit' type='QLineEdit' visible='1'} +:Center.qt_spinbox_lineedit_QLineEdit_4 {container=':Arc.Center_QGroupBox' name='qt_spinbox_lineedit' occurrence='2' type='QLineEdit' visible='1'} :Circle.Auxiliary_QCheckBox {container=':SALOME*.Circle_XGUI_PropertyPanel' text='Auxiliary' type='QCheckBox' unnamed='1' visible='1'} :Circle.Center_QGroupBox {container=':SALOME*.Circle_XGUI_PropertyPanel' title='Center' type='QGroupBox' unnamed='1' visible='1'} :Circle.CircleRadius_ModuleBase_ParamSpinBox {container=':SALOME*.Circle_XGUI_PropertyPanel' name='CircleRadius' type='ModuleBase_ParamSpinBox' visible='1'} :Circle.property_panel_cancel_QToolButton {container=':SALOME*.Circle_XGUI_PropertyPanel' name='property_panel_cancel' type='QToolButton' visible='1'} :Circle.property_panel_ok_QToolButton {container=':SALOME*.Circle_XGUI_PropertyPanel' name='property_panel_ok' type='QToolButton' visible='1'} +:Circle.qt_spinbox_lineedit_QLineEdit {container=':SALOME*.Circle_XGUI_PropertyPanel' name='qt_spinbox_lineedit' occurrence='3' type='QLineEdit' visible='1'} :Close active study.Close w/o saving_QPushButton {text='Close w/o saving' type='QPushButton' unnamed='1' visible='1' window=':Close active study_SUIT_MessageBox'} :Close active study_SUIT_MessageBox {type='SUIT_MessageBox' unnamed='1' visible='1' windowTitle='Close active study'} :Coincident.property_panel_cancel_QToolButton {container=':SALOME*.Coincident_XGUI_PropertyPanel' name='property_panel_cancel' type='QToolButton' visible='1'} @@ -57,6 +62,10 @@ :End point.Y _QLabel {container=':Line.End point_QGroupBox' text='Y ' type='QLabel' unnamed='1' visible='1'} :End point.Y _QLabel_2 {container=':Arc.End point_QGroupBox' text='Y ' type='QLabel' unnamed='1' visible='1'} :End point.qt_spinbox_lineedit_QLineEdit {container=':Direction.End point_QGroupBox' name='qt_spinbox_lineedit' type='QLineEdit' visible='1'} +:End point.qt_spinbox_lineedit_QLineEdit_2 {container=':Line.End point_QGroupBox' name='qt_spinbox_lineedit' type='QLineEdit' visible='1'} +:End point.qt_spinbox_lineedit_QLineEdit_3 {container=':Line.End point_QGroupBox' name='qt_spinbox_lineedit' occurrence='2' type='QLineEdit' visible='1'} +:End point.qt_spinbox_lineedit_QLineEdit_4 {container=':Arc.End point_QGroupBox' name='qt_spinbox_lineedit' type='QLineEdit' visible='1'} +:End point.qt_spinbox_lineedit_QLineEdit_5 {container=':Arc.End point_QGroupBox' name='qt_spinbox_lineedit' occurrence='2' type='QLineEdit' visible='1'} :Equal.First object_QLabel {container=':SALOME*.Equal_XGUI_PropertyPanel' text='First object' type='QLabel' unnamed='1' visible='1'} :Equal.First object_QLineEdit {container=':SALOME*.Equal_XGUI_PropertyPanel' leftWidget=':Equal.First object_QLabel' type='QLineEdit' unnamed='1' visible='1'} :Equal.Second object_QLabel {container=':SALOME*.Equal_XGUI_PropertyPanel' text='Second object' type='QLabel' unnamed='1' visible='1'} @@ -100,6 +109,7 @@ :Fatal error.OK_QPushButton {text='OK' type='QPushButton' unnamed='1' visible='1' window=':Fatal error_QMessageBox'} :Fatal error_QMessageBox {type='QMessageBox' unnamed='1' visible='1' windowTitle='Fatal error'} :Fillet.ConstraintValue_ModuleBase_ParamSpinBox {container=':SALOME*.Fillet_XGUI_PropertyPanel' name='ConstraintValue' type='ModuleBase_ParamSpinBox' visible='1'} +:Fillet.property_panel_cancel_QToolButton {container=':SALOME*.Fillet_XGUI_PropertyPanel' name='property_panel_cancel' type='QToolButton' visible='1'} :Fillet.property_panel_ok_QToolButton {container=':SALOME*.Fillet_XGUI_PropertyPanel' name='property_panel_ok' type='QToolButton' visible='1'} :Fillet.qt_spinbox_lineedit_QLineEdit {container=':SALOME*.Fillet_XGUI_PropertyPanel' name='qt_spinbox_lineedit' type='QLineEdit' visible='1'} :Fixed.property_panel_cancel_QToolButton {container=':SALOME*.Fixed_XGUI_PropertyPanel' name='property_panel_cancel' type='QToolButton' visible='1'} @@ -252,6 +262,7 @@ :SALOME*.-OZ_QToolButton {text='-OZ' type='QToolButton' unnamed='1' visible='1' window=':SALOME*_STD_TabDesktop'} :SALOME*.3D View Operations_OCCViewer_ViewPort3d {aboveWidget=':SALOME*.3D View Operations_QtxToolBar' type='OCCViewer_ViewPort3d' unnamed='1' visible='1' window=':SALOME*_STD_TabDesktop'} :SALOME*.3D View Operations_QtxToolBar {name='OCCViewer3DViewOperations' type='QtxToolBar' visible='1' window=':SALOME*_STD_TabDesktop' windowTitle='3D View Operations'} +:SALOME*.Arc_QToolButton {text='Arc' type='QToolButton' unnamed='1' visible='1' window=':SALOME*_STD_TabDesktop'} :SALOME*.Arc_XGUI_PropertyPanel {name='property_panel_dock' type='XGUI_PropertyPanel' visible='1' window=':SALOME*_STD_TabDesktop' windowTitle='Arc'} :SALOME*.Axis_QToolButton {text='Axis' type='QToolButton' unnamed='1' visible='1' window=':SALOME*_STD_TabDesktop'} :SALOME*.Axis_XGUI_PropertyPanel {name='property_panel_dock' type='XGUI_PropertyPanel' visible='1' window=':SALOME*_STD_TabDesktop' windowTitle='Axis'} @@ -282,6 +293,7 @@ :SALOME*.Extrusion_QToolButton {text='Extrusion' type='QToolButton' unnamed='1' visible='1' window=':SALOME*_STD_TabDesktop'} :SALOME*.Extrusion_XGUI_PropertyPanel {name='property_panel_dock' type='XGUI_PropertyPanel' visible='1' window=':SALOME*_STD_TabDesktop' windowTitle='Extrusion'} :SALOME*.Features_QtxToolBar {name='Features' type='QtxToolBar' visible='1' window=':SALOME*_STD_TabDesktop' windowTitle='Features'} +:SALOME*.Fillet_QToolButton {text='Fillet' type='QToolButton' unnamed='1' visible='1' window=':SALOME*_STD_TabDesktop'} :SALOME*.Fillet_XGUI_PropertyPanel {name='property_panel_dock' type='XGUI_PropertyPanel' visible='1' window=':SALOME*_STD_TabDesktop' windowTitle='Fillet'} :SALOME*.Fit All_QToolButton {text='Fit All' type='QToolButton' unnamed='1' visible='1' window=':SALOME*_STD_TabDesktop'} :SALOME*.Fit Area_QToolButton {text='Fit Area' type='QToolButton' unnamed='1' visible='1' window=':SALOME*_STD_TabDesktop'} @@ -397,6 +409,10 @@ :Start point.Y _QLabel {container=':Line.Start point_QGroupBox' text='Y ' type='QLabel' unnamed='1' visible='1'} :Start point.Y _QLabel_2 {container=':Arc.Start point_QGroupBox' text='Y ' type='QLabel' unnamed='1' visible='1'} :Start point.qt_spinbox_lineedit_QLineEdit {container=':Direction.Start point_QGroupBox' name='qt_spinbox_lineedit' type='QLineEdit' visible='1'} +:Start point.qt_spinbox_lineedit_QLineEdit_2 {container=':Line.Start point_QGroupBox' name='qt_spinbox_lineedit' type='QLineEdit' visible='1'} +:Start point.qt_spinbox_lineedit_QLineEdit_3 {container=':Line.Start point_QGroupBox' name='qt_spinbox_lineedit' occurrence='2' type='QLineEdit' visible='1'} +:Start point.qt_spinbox_lineedit_QLineEdit_4 {container=':Arc.Start point_QGroupBox' name='qt_spinbox_lineedit' type='QLineEdit' visible='1'} +:Start point.qt_spinbox_lineedit_QLineEdit_5 {container=':Arc.Start point_QGroupBox' name='qt_spinbox_lineedit' occurrence='2' type='QLineEdit' visible='1'} :Tangent.property_panel_cancel_QToolButton {container=':SALOME*.Tangent_XGUI_PropertyPanel' name='property_panel_cancel' type='QToolButton' visible='1'} :To.to_offset_ModuleBase_ParamSpinBox {container=':Extrusion.To_ModuleBase_PageGroupBox' name='to_offset' type='ModuleBase_ParamSpinBox' visible='1'} :To.to_offset_ModuleBase_ParamSpinBox_2 {container=':Revolution.To_ModuleBase_PageGroupBox' name='to_offset' type='ModuleBase_ParamSpinBox' visible='1'} diff --git a/test.squish/suite_FEATURE_PARAMETERS/shared/steps/steps.py b/test.squish/suite_FEATURE_PARAMETERS/shared/steps/steps.py index ad69b6393..3f72cb302 100644 --- a/test.squish/suite_FEATURE_PARAMETERS/shared/steps/steps.py +++ b/test.squish/suite_FEATURE_PARAMETERS/shared/steps/steps.py @@ -67,3 +67,129 @@ def step(context): clickItem(":Object browser_XGUI_DataTree", "Part\\_1.Parameters (1)", -10, 10, 0, Qt.LeftButton) waitFor("object.exists(':Parameters (1).a = 32_QModelIndex')", 20000) test.compare(findObject(":Parameters (1).a = 32_QModelIndex").text, "a = 32") + +@When("Create sketch") +def step(context): + clickButton(waitForObject(":SALOME*.Sketch_QToolButton")) + clickButton(waitForObject(":SALOME*.-OZ_QToolButton")) + mouseClick(waitForObject(":SALOME*.3D View Operations_OCCViewer_ViewPort3d"), 247, 126, 0, Qt.LeftButton) + clickButton(waitForObject(":Sketcher plane.Set plane view_QPushButton")) + +@Then("Check that Point does not allow using expressions") +def step(context): + clickButton(waitForObject(":SALOME*.SketchPoint_QToolButton")) + mouseClick(waitForObject(":Point.qt_spinbox_lineedit_QLineEdit"), 41, 6, 0, Qt.LeftButton) + type(waitForObject(":Point.X _ModuleBase_ParamSpinBox"), "") + type(waitForObject(":Point.X _ModuleBase_ParamSpinBox"), "a") + mouseClick(waitForObject(":Point.qt_spinbox_lineedit_QLineEdit_2"), 40, 9, 0, Qt.LeftButton) + type(waitForObject(":Point.Y _ModuleBase_ParamSpinBox"), "") + type(waitForObject(":Point.Y _ModuleBase_ParamSpinBox"), "a") + waitFor("object.exists(':Point.qt_spinbox_lineedit_QLineEdit')", 20000) + test.compare(str(findObject(":Point.qt_spinbox_lineedit_QLineEdit").text), "0") + waitFor("object.exists(':Point.qt_spinbox_lineedit_QLineEdit_2')", 20000) + test.compare(str(findObject(":Point.qt_spinbox_lineedit_QLineEdit_2").text), "0") + clickButton(waitForObject(":Point.property_panel_cancel_QToolButton")) + +@Then("Check that Line does not allow using expressions") +def step(context): + clickButton(waitForObject(":SALOME*.Line_QToolButton")) + mouseClick(waitForObject(":Start point.qt_spinbox_lineedit_QLineEdit_2"), 89, 9, 0, Qt.LeftButton) + type(waitForObject(":Start point.X _ModuleBase_ParamSpinBox"), "") + type(waitForObject(":Start point.X _ModuleBase_ParamSpinBox"), "a") + mouseClick(waitForObject(":Start point.qt_spinbox_lineedit_QLineEdit_3"), 72, 10, 0, Qt.LeftButton) + type(waitForObject(":Start point.Y _ModuleBase_ParamSpinBox"), "") + type(waitForObject(":Start point.Y _ModuleBase_ParamSpinBox"), "a") + mouseClick(waitForObject(":End point.qt_spinbox_lineedit_QLineEdit_2"), 62, 8, 0, Qt.LeftButton) + type(waitForObject(":End point.X _ModuleBase_ParamSpinBox"), "") + type(waitForObject(":End point.X _ModuleBase_ParamSpinBox"), "a") + mouseClick(waitForObject(":End point.qt_spinbox_lineedit_QLineEdit_3"), 59, 6, 0, Qt.LeftButton) + type(waitForObject(":End point.Y _ModuleBase_ParamSpinBox"), "") + type(waitForObject(":End point.Y _ModuleBase_ParamSpinBox"), "a") + waitFor("object.exists(':Start point.qt_spinbox_lineedit_QLineEdit_2')", 20000) + test.compare(str(findObject(":Start point.qt_spinbox_lineedit_QLineEdit_2").text), "0") + waitFor("object.exists(':Start point.qt_spinbox_lineedit_QLineEdit_3')", 20000) + test.compare(str(findObject(":Start point.qt_spinbox_lineedit_QLineEdit_3").text), "0") + waitFor("object.exists(':End point.qt_spinbox_lineedit_QLineEdit_2')", 20000) + test.compare(str(findObject(":End point.qt_spinbox_lineedit_QLineEdit_2").text), "0") + waitFor("object.exists(':End point.qt_spinbox_lineedit_QLineEdit_3')", 20000) + test.compare(str(findObject(":End point.qt_spinbox_lineedit_QLineEdit_3").text), "0") + clickButton(waitForObject(":Line.property_panel_cancel_QToolButton")) + +@Then("Check that Circle does not allow using expressions") +def step(context): + clickButton(waitForObject(":SALOME*.Circle_QToolButton")) + mouseClick(waitForObject(":Center.qt_spinbox_lineedit_QLineEdit"), 90, 4, 0, Qt.LeftButton) + type(waitForObject(":Center.X _ModuleBase_ParamSpinBox"), "") + type(waitForObject(":Center.X _ModuleBase_ParamSpinBox"), "a") + mouseClick(waitForObject(":Center.qt_spinbox_lineedit_QLineEdit_2"), 71, 8, 0, Qt.LeftButton) + type(waitForObject(":Center.Y _ModuleBase_ParamSpinBox"), "") + type(waitForObject(":Center.Y _ModuleBase_ParamSpinBox"), "a") + mouseClick(waitForObject(":Circle.qt_spinbox_lineedit_QLineEdit"), 58, 6, 0, Qt.LeftButton) + type(waitForObject(":Circle.CircleRadius_ModuleBase_ParamSpinBox"), "") + type(waitForObject(":Circle.CircleRadius_ModuleBase_ParamSpinBox"), "a") + waitFor("object.exists(':Center.qt_spinbox_lineedit_QLineEdit')", 20000) + test.compare(str(findObject(":Center.qt_spinbox_lineedit_QLineEdit").text), "0") + waitFor("object.exists(':Center.qt_spinbox_lineedit_QLineEdit_2')", 20000) + test.compare(str(findObject(":Center.qt_spinbox_lineedit_QLineEdit_2").text), "0") + waitFor("object.exists(':Circle.qt_spinbox_lineedit_QLineEdit')", 20000) + test.compare(str(findObject(":Circle.qt_spinbox_lineedit_QLineEdit").text), "0") + clickButton(waitForObject(":Circle.property_panel_cancel_QToolButton")) + +@Then("Check that Arc does not allow using expressions") +def step(context): + clickButton(waitForObject(":SALOME*.Arc_QToolButton")) + mouseClick(waitForObject(":Center.qt_spinbox_lineedit_QLineEdit_3"), 156, 6, 0, Qt.LeftButton) + type(waitForObject(":Center.X _ModuleBase_ParamSpinBox_2"), "A") + type(waitForObject(":Center.X _ModuleBase_ParamSpinBox_2"), "") + type(waitForObject(":Center.X _ModuleBase_ParamSpinBox_2"), "a") + mouseClick(waitForObject(":Arc.Center_QGroupBox"), 135, 41, 0, Qt.LeftButton) + mouseClick(waitForObject(":Center.qt_spinbox_lineedit_QLineEdit_4"), 115, 3, 0, Qt.LeftButton) + type(waitForObject(":Center.Y _ModuleBase_ParamSpinBox_2"), "") + type(waitForObject(":Center.Y _ModuleBase_ParamSpinBox_2"), "a") + mouseClick(waitForObject(":Start point.qt_spinbox_lineedit_QLineEdit_4"), 103, 9, 0, Qt.LeftButton) + type(waitForObject(":Start point.X _ModuleBase_ParamSpinBox_2"), "") + type(waitForObject(":Start point.X _ModuleBase_ParamSpinBox_2"), "a") + mouseClick(waitForObject(":Start point.qt_spinbox_lineedit_QLineEdit_5"), 99, 8, 0, Qt.LeftButton) + type(waitForObject(":Start point.Y _ModuleBase_ParamSpinBox_2"), "") + type(waitForObject(":Start point.Y _ModuleBase_ParamSpinBox_2"), "a") + mouseClick(waitForObject(":End point.qt_spinbox_lineedit_QLineEdit_4"), 99, 1, 0, Qt.LeftButton) + type(waitForObject(":End point.X _ModuleBase_ParamSpinBox_2"), "") + type(waitForObject(":End point.X _ModuleBase_ParamSpinBox_2"), "a") + mouseClick(waitForObject(":End point.qt_spinbox_lineedit_QLineEdit_5"), 99, 1, 0, Qt.LeftButton) + type(waitForObject(":End point.Y _ModuleBase_ParamSpinBox_2"), "") + type(waitForObject(":End point.Y _ModuleBase_ParamSpinBox_2"), "a") + waitFor("object.exists(':Center.qt_spinbox_lineedit_QLineEdit_3')", 20000) + test.compare(str(findObject(":Center.qt_spinbox_lineedit_QLineEdit_3").text), "0") + waitFor("object.exists(':Center.qt_spinbox_lineedit_QLineEdit_4')", 20000) + test.compare(str(findObject(":Center.qt_spinbox_lineedit_QLineEdit_4").text), "0") + waitFor("object.exists(':Start point.qt_spinbox_lineedit_QLineEdit_4')", 20000) + test.compare(str(findObject(":Start point.qt_spinbox_lineedit_QLineEdit_4").text), "0") + waitFor("object.exists(':Start point.qt_spinbox_lineedit_QLineEdit_5')", 20000) + test.compare(str(findObject(":Start point.qt_spinbox_lineedit_QLineEdit_5").text), "0") + waitFor("object.exists(':End point.qt_spinbox_lineedit_QLineEdit_4')", 20000) + test.compare(str(findObject(":End point.qt_spinbox_lineedit_QLineEdit_4").text), "0") + waitFor("object.exists(':End point.qt_spinbox_lineedit_QLineEdit_5')", 20000) + test.compare(str(findObject(":End point.qt_spinbox_lineedit_QLineEdit_5").text), "0") + clickButton(waitForObject(":Arc.property_panel_cancel_QToolButton")) + +@Then("Check that Fillet does not allow using expressions") +def step(context): + clickButton(waitForObject(":SALOME*.Line_QToolButton")) + mouseClick(waitForObject(":SALOME*.3D View Operations_OCCViewer_ViewPort3d"), 131, 282, 0, Qt.LeftButton) + mouseClick(waitForObject(":SALOME*.3D View Operations_OCCViewer_ViewPort3d"), 209, 98, 0, Qt.LeftButton) + mouseClick(waitForObject(":SALOME*.3D View Operations_OCCViewer_ViewPort3d"), 283, 275, 0, Qt.LeftButton) + clickButton(waitForObject(":Line.property_panel_cancel_QToolButton")) + clickButton(waitForObject(":SALOME*.Fillet_QToolButton")) + mouseClick(waitForObject(":SALOME*.3D View Operations_OCCViewer_ViewPort3d"), 211, 99, 0, Qt.LeftButton) + type(waitForObject(":Fillet.ConstraintValue_ModuleBase_ParamSpinBox"), "") + type(waitForObject(":Fillet.ConstraintValue_ModuleBase_ParamSpinBox"), "") + type(waitForObject(":Fillet.ConstraintValue_ModuleBase_ParamSpinBox"), "") + type(waitForObject(":Fillet.ConstraintValue_ModuleBase_ParamSpinBox"), "") + waitFor("object.exists(':Fillet.qt_spinbox_lineedit_QLineEdit')", 20000) + test.compare(str(findObject(":Fillet.qt_spinbox_lineedit_QLineEdit").text), "10") + mouseClick(waitForObject(":Fillet.qt_spinbox_lineedit_QLineEdit"), 48, 6, 0, Qt.LeftButton) + type(waitForObject(":Fillet.ConstraintValue_ModuleBase_ParamSpinBox"), "") + type(waitForObject(":Fillet.ConstraintValue_ModuleBase_ParamSpinBox"), "a") + waitFor("object.exists(':Fillet.qt_spinbox_lineedit_QLineEdit')", 20000) + test.compare(str(findObject(":Fillet.qt_spinbox_lineedit_QLineEdit").text), "10") + clickButton(waitForObject(":Fillet.property_panel_cancel_QToolButton")) diff --git a/test.squish/suite_FEATURE_PARAMETERS/tst_1157/test.feature b/test.squish/suite_FEATURE_PARAMETERS/tst_1157/test.feature new file mode 100644 index 000000000..35963838b --- /dev/null +++ b/test.squish/suite_FEATURE_PARAMETERS/tst_1157/test.feature @@ -0,0 +1,15 @@ +Feature: Disable using expressions in double and Point2D attributes of sketch entities. + + Sketch entities should be modified by solver, but using expressions restricts value changing. + + Scenario: Check that Point, Line, Circle, Arc and Fillet does not allow input parameters + + Given Launch application in salome mode + When Create part + And Create parameter a=30 + And Create sketch + Then Check that Point does not allow using expressions + And Check that Line does not allow using expressions + And Check that Circle does not allow using expressions + And Check that Arc does not allow using expressions + And Check that Fillet does not allow using expressions diff --git a/test.squish/suite_FEATURE_PARAMETERS/tst_1157/test.py b/test.squish/suite_FEATURE_PARAMETERS/tst_1157/test.py new file mode 100644 index 000000000..75e47d0b3 --- /dev/null +++ b/test.squish/suite_FEATURE_PARAMETERS/tst_1157/test.py @@ -0,0 +1,8 @@ +source(findFile('scripts', 'python/bdd.py')) + +setupHooks('../shared/scripts/bdd_hooks.py') +collectStepDefinitions('./steps', '../shared/steps') + +def main(): + testSettings.throwOnFailure = True + runFeatureFile('test.feature') -- 2.39.2