Sha256: 177b7167e711379d383a4127f328210e3d464c64893e8e49e9d85ee5deced9bd

Contents?: true

Size: 568 Bytes

Versions: 11

Compression:

Stored size: 568 Bytes

Contents

# frozen_string_literal: true

called_from_cli = true
begin
  OpenStudio.getOpenStudioCLI
rescue
  called_from_cli = false
end

if ENV['CI'] && !called_from_cli
  begin
    require 'simplecov'
    SimpleCov.coverage_dir(File.join(Dir.getwd, 'coverage'))
    SimpleCov.formatter = SimpleCov::Formatter::HTMLFormatter
    SimpleCov.start
  rescue
  end
end

require 'minitest/autorun'
require 'minitest/reporters'
require 'minitest/reporters/spec_reporter' # Needed when run via OS CLI
Minitest::Reporters.use! Minitest::Reporters::SpecReporter.new # spec-like progress

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
urbanopt-cli-0.14.0 example_files/resources/residential-measures/resources/hpxml-measures/HPXMLtoOpenStudio/resources/minitest_helper.rb
urbanopt-cli-0.13.0 example_files/resources/residential-measures/resources/hpxml-measures/HPXMLtoOpenStudio/resources/minitest_helper.rb
urbanopt-cli-0.10.0 example_files/resources/hpxml-measures/HPXMLtoOpenStudio/resources/minitest_helper.rb
urbanopt-cli-0.9.3 example_files/resources/hpxml-measures/HPXMLtoOpenStudio/resources/minitest_helper.rb
urbanopt-cli-0.9.2 example_files/resources/hpxml-measures/HPXMLtoOpenStudio/resources/minitest_helper.rb
urbanopt-cli-0.9.1 example_files/resources/hpxml-measures/HPXMLtoOpenStudio/resources/minitest_helper.rb
urbanopt-cli-0.9.0 example_files/resources/hpxml-measures/HPXMLtoOpenStudio/resources/minitest_helper.rb
urbanopt-cli-0.8.3 example_files/resources/hpxml-measures/HPXMLtoOpenStudio/resources/minitest_helper.rb
urbanopt-cli-0.8.2 example_files/resources/hpxml-measures/HPXMLtoOpenStudio/resources/minitest_helper.rb
urbanopt-cli-0.8.1 example_files/resources/hpxml-measures/HPXMLtoOpenStudio/resources/minitest_helper.rb
urbanopt-cli-0.8.0 example_files/resources/hpxml-measures/HPXMLtoOpenStudio/resources/minitest_helper.rb