Files
IfcOpenShell/src/bonsai/test/bim/feature/debug.feature
T
Andrej730 fc10915d2b ifcopenshell.validate - remove simple_spf dependency (689289b)
Moved it to `TYPE_CHECKING` since it's currently used just for typing.

Was breaking validation in Bonsai since it doesn't provide all submodules with IfcOpenShell https://github.com/IfcOpenShell/IfcOpenShell/issues/6723#issuecomment-3016223786

Also added a simple test so github workflow would catch a simple error like this.
2025-06-30 18:08:34 +05:00

35 lines
1.1 KiB
Gherkin

@debug
Feature: Debug
Scenario: Select express file
Given an empty Blender session
When I press "bim.select_express_file(filepath='{cwd}/test/files/test.exp')"
Then nothing happens
Scenario: Parse express
Given an empty Blender session
And I press "bim.select_express_file(filepath='{cwd}/test/files/test.exp')"
When I press "bim.parse_express"
And I evaluate expression "os.remove('{cwd}/test/files/test.exp.cache.dat')"
Then nothing happens
Scenario: Use the inspector - inspect from STEP ID
Given an empty Blender session
And I press "bim.create_project"
When I set "scene.BIMDebugProperties.active_step_id" to "1"
And I press "bim.inspect_from_step_id(step_id=1)"
Then nothing happens
Scenario: Use the inspector - inspect from object
Given an empty Blender session
And I press "bim.create_project"
When the object "IfcProject/My Project" is selected
And I press "bim.inspect_from_object"
Then nothing happens
Scenario: Run IFC validation
Given an empty IFC project
And I load the demo construction library
And I press "bim.validate_ifc_file"
Then nothing happens