Sha256: 79cfb88dfe63690430d724d3437221b80f2fb525d6712f9461c8e4b2ced4851f

Contents?: true

Size: 892 Bytes

Versions: 4

Compression:

Stored size: 892 Bytes

Contents

# frozen_string_literal: true

# This file is only used to run all tests and collect results on the CI.
# All rake tasks have been moved to tasks.rb.

require 'rake'
require 'rake/testtask'

desc 'Run all tests'
Rake::TestTask.new('test_all') do |t|
  t.test_files = Dir['*/tests/*.rb']
  t.warning = false
  t.verbose = true
end

desc 'Run measure unit tests'
Rake::TestTask.new('test_measures') do |t|
  t.test_files = Dir['*/tests/*.rb'] - Dir['workflow/tests/*.rb']
  t.warning = false
  t.verbose = true
end

desc 'Run workflow1 tests'
Rake::TestTask.new('test_workflow1') do |t|
  t.test_files = Dir['workflow/tests/test_simulations1.rb']
  t.warning = false
  t.verbose = true
end

desc 'Run workflow2 tests'
Rake::TestTask.new('test_workflow2') do |t|
  t.test_files = Dir['workflow/tests/*.rb'] - Dir['workflow/tests/test_simulations1.rb']
  t.warning = false
  t.verbose = true
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
urbanopt-cli-0.14.0 example_files/resources/residential-measures/resources/hpxml-measures/Rakefile
urbanopt-cli-0.13.0 example_files/resources/residential-measures/resources/hpxml-measures/Rakefile
urbanopt-cli-0.11.1 example_files/resources/hpxml-measures/Rakefile
urbanopt-cli-0.11.0 example_files/resources/hpxml-measures/Rakefile