add qto feature test

This commit is contained in:
Massimo Fabbro
2023-02-14 20:25:27 +01:00
committed by Dion Moult
parent d1d0b5724d
commit f81ceb53cf
@@ -46,3 +46,20 @@ Scenario: Execute qto method - side formwork areas
When I set "scene.BIMQtoProperties.qto_methods" to "SIDE_FORMWORK"
And I press "bim.execute_qto_method"
Then "scene.BIMQtoProperties.qto_result" is "16.0"
Scenario: Execute assign_objects_base_qto
Given an empty IFC project
And I add a cube
And the object "Cube" is selected
And I press "bim.assign_class(ifc_class='IfcWall', predefined_type='SOLIDWALL')"
When I press "bim.assign_objects_base_qto"
Then "active_object.PsetProperties.qto_name" is "Qto_WallBaseQuantities"
Scenario: Execute calculate_all_quantities
Given an empty IFC project
And I add a cube
And the object "Cube" is selected
And I press "bim.assign_class(ifc_class='IfcWall', predefined_type='SOLIDWALL')"
When I press "bim.calculate_all_quantities"
Then "active_object.PsetProperties.qto_name" is "Qto_WallBaseQuantities"