Revision history [back]
Reporting measure - cannot find workflow measure failed.
I am writing a test for my own reporting measure, the measure works fine when I run it in the OpenStudio app however when I try to run it with my test it test says "No workflow provided, using empty WorkflowJSON".
For this reason my measure fails when it gets to the line of code: (I am trying to get the name of the osm which the measure is being applied to know)
currentModelName = runner.workflow.seedFile.get.to_s[3..-1]
Since in this test I am not actually running the osm model I simply want to test the reporting measure, how can I load the workflow in the test without actually running the osm model?
Reporting measure - cannot find workflow measure failed.
I am writing a test for my own reporting measure, the measure works fine when I run it in the OpenStudio app however when I try to run it with my test it test says "No No workflow provided, using empty WorkflowJSON".WorkflowJSON.
For this reason my measure fails when it gets to the line of code: (I am trying to get the name of the osm which the measure is being applied to know)
currentModelName = runner.workflow.seedFile.get.to_s[3..-1]
Since in this test I am not actually running the osm model I simply want to test the reporting measure, how can I load the workflow in the test without actually running the osm model?