Skip to content

Commit

Permalink
Get test results to show up when running from CLI
Browse files Browse the repository at this point in the history
  • Loading branch information
macumber committed Jun 19, 2018
1 parent 04aafe1 commit a5af93e
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions openstudiocore/src/cli/openstudio_cli.rb
Original file line number Diff line number Diff line change
Expand Up @@ -1194,6 +1194,14 @@ def execute(sub_argv)

# load openstudio_measure_tester gem
#begin
require 'minitest'
require 'minitest/reporters'

# Minitest Reports use a plugin that is normally found by Minitest::load_plugins using Gem.find
# until Gem.find is overloaded to find embedded gems, we will manually load the plugin here
require 'minitest/minitest_reporter_plugin'
Minitest.extensions << 'minitest_reporter'

require 'openstudio_measure_tester'
#rescue LoadError
#puts "Cannot load 'openstudio_measure_tester'"
Expand Down

0 comments on commit a5af93e

Please sign in to comment.