Sha256: 0c07a55f79c4e6de588caf624c9662e752d26fe561d30cc58791e85b9cd12003

Contents?: true

Size: 1.09 KB

Versions: 158

Compression:

Stored size: 1.09 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: 1.0.0 4b9ae53
class HelloWorldTest < Minitest::Test
  def test_say_hi
    # skip
    assert_equal "Hello, World!", HelloWorld.hello
  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.119 tracks/ruby/exercises/hello-world/hello_world_test.rb
trackler-2.2.1.118 tracks/ruby/exercises/hello-world/hello_world_test.rb
trackler-2.2.1.117 tracks/ruby/exercises/hello-world/hello_world_test.rb
trackler-2.2.1.116 tracks/ruby/exercises/hello-world/hello_world_test.rb
trackler-2.2.1.115 tracks/ruby/exercises/hello-world/hello_world_test.rb
trackler-2.2.1.114 tracks/ruby/exercises/hello-world/hello_world_test.rb
trackler-2.2.1.113 tracks/ruby/exercises/hello-world/hello_world_test.rb
trackler-2.2.1.111 tracks/ruby/exercises/hello-world/hello_world_test.rb
trackler-2.2.1.110 tracks/ruby/exercises/hello-world/hello_world_test.rb
trackler-2.2.1.109 tracks/ruby/exercises/hello-world/hello_world_test.rb
trackler-2.2.1.108 tracks/ruby/exercises/hello-world/hello_world_test.rb
trackler-2.2.1.107 tracks/ruby/exercises/hello-world/hello_world_test.rb
trackler-2.2.1.106 tracks/ruby/exercises/hello-world/hello_world_test.rb
trackler-2.2.1.105 tracks/ruby/exercises/hello-world/hello_world_test.rb
trackler-2.2.1.104 tracks/ruby/exercises/hello-world/hello_world_test.rb
trackler-2.2.1.103 tracks/ruby/exercises/hello-world/hello_world_test.rb
trackler-2.2.1.102 tracks/ruby/exercises/hello-world/hello_world_test.rb
trackler-2.2.1.101 tracks/ruby/exercises/hello-world/hello_world_test.rb
trackler-2.2.1.100 tracks/ruby/exercises/hello-world/hello_world_test.rb
trackler-2.2.1.99 tracks/ruby/exercises/hello-world/hello_world_test.rb