Sha256: 9ea2b299dd851f2fed55c9aa3a0075cd39a7ccecd41a065595e8c1fb4498528f

Contents?: true

Size: 1.21 KB

Versions: 158

Compression:

Stored size: 1.21 KB

Contents

begin
  gem 'minitest', '>= 5.0.0'
  require 'minitest/autorun'
  require_relative 'hello_world'
rescue Gem::LoadError => e
  puts "\nMissing Dependency:\n#{e.backtrace.first} #{e.message}"
  puts 'Minitest 5.0 gem must be installed for the Ruby track.'
rescue LoadError => e
  puts "\nError:\n#{e.backtrace.first} #{e.message}"
  puts DATA.read
  exit 1
end

# Common test data version: <%= canonical_data_version %> <%= abbreviated_commit_hash %>
class HelloWorldTest < Minitest::Test
<% test_cases.each_with_index do |test_case, idx| %>
  def <%= test_case.name %>
    <%= test_case.skipped(idx) %>
    <%= test_case.workload %>
  end
<% end %>
end

__END__

*****************************************************
You got an error, which is exactly as it should be.
This is the first step in the Test-Driven Development
(TDD) process.

The most important part of the error is

   cannot load such file

It's looking for a file named hello_world.rb that doesn't
exist yet.

To fix the error, create an empty file named hello_world.rb
in the same directory as the hello_world_test.rb file.

Then run the test again.

For more guidance as you work on this exercise, see
GETTING_STARTED.md.
*****************************************************

Version data entries

158 entries across 158 versions & 1 rubygems

Version Path
trackler-2.2.1.78 tracks/ruby/exercises/hello-world/.meta/generator/test_template.erb
trackler-2.2.1.77 tracks/ruby/exercises/hello-world/.meta/generator/test_template.erb
trackler-2.2.1.76 tracks/ruby/exercises/hello-world/.meta/generator/test_template.erb
trackler-2.2.1.75 tracks/ruby/exercises/hello-world/.meta/generator/test_template.erb
trackler-2.2.1.74 tracks/ruby/exercises/hello-world/.meta/generator/test_template.erb
trackler-2.2.1.73 tracks/ruby/exercises/hello-world/.meta/generator/test_template.erb
trackler-2.2.1.72 tracks/ruby/exercises/hello-world/.meta/generator/test_template.erb
trackler-2.2.1.71 tracks/ruby/exercises/hello-world/.meta/generator/test_template.erb
trackler-2.2.1.70 tracks/ruby/exercises/hello-world/.meta/generator/test_template.erb
trackler-2.2.1.69 tracks/ruby/exercises/hello-world/.meta/generator/test_template.erb
trackler-2.2.1.68 tracks/ruby/exercises/hello-world/.meta/generator/test_template.erb
trackler-2.2.1.67 tracks/ruby/exercises/hello-world/.meta/generator/test_template.erb
trackler-2.2.1.66 tracks/ruby/exercises/hello-world/.meta/generator/test_template.erb
trackler-2.2.1.65 tracks/ruby/exercises/hello-world/.meta/generator/test_template.erb
trackler-2.2.1.64 tracks/ruby/exercises/hello-world/.meta/generator/test_template.erb
trackler-2.2.1.63 tracks/ruby/exercises/hello-world/.meta/generator/test_template.erb
trackler-2.2.1.62 tracks/ruby/exercises/hello-world/.meta/generator/test_template.erb
trackler-2.2.1.61 tracks/ruby/exercises/hello-world/.meta/generator/test_template.erb
trackler-2.2.1.60 tracks/ruby/exercises/hello-world/.meta/generator/test_template.erb
trackler-2.2.1.59 tracks/ruby/exercises/hello-world/.meta/generator/test_template.erb