Sha256: 568581b7b7140922a8195ab687911130cb252f280b91c1ce30ca25c022cf9c70

Contents?: true

Size: 533 Bytes

Versions: 260

Compression:

Stored size: 533 Bytes

Contents

if !System.get_env("EXERCISM_TEST_EXAMPLES") do
  Code.load_file("hello_world.exs", __DIR__)
end

ExUnit.start
ExUnit.configure exclude: :pending, trace: true

defmodule HelloWorldTest do
  use ExUnit.Case

  test "says hello with no name" do
    assert HelloWorld.hello() == "Hello, World!"
  end

  @tag :pending
  test "says hello sample name" do
    assert HelloWorld.hello("Alice") == "Hello, Alice!"
  end

  @tag :pending
  test "says hello other sample name" do
    assert HelloWorld.hello("Bob") == "Hello, Bob!"
  end

end

Version data entries

260 entries across 260 versions & 1 rubygems

Version Path
trackler-2.2.1.23 tracks/elixir/exercises/hello-world/hello_world_test.exs
trackler-2.2.1.22 tracks/elixir/exercises/hello-world/hello_world_test.exs
trackler-2.2.1.21 tracks/elixir/exercises/hello-world/hello_world_test.exs
trackler-2.2.1.20 tracks/elixir/exercises/hello-world/hello_world_test.exs
trackler-2.2.1.19 tracks/elixir/exercises/hello-world/hello_world_test.exs
trackler-2.2.1.18 tracks/elixir/exercises/hello-world/hello_world_test.exs
trackler-2.2.1.17 tracks/elixir/exercises/hello-world/hello_world_test.exs
trackler-2.2.1.16 tracks/elixir/exercises/hello-world/hello_world_test.exs
trackler-2.2.1.15 tracks/elixir/exercises/hello-world/hello_world_test.exs
trackler-2.2.1.14 tracks/elixir/exercises/hello-world/hello_world_test.exs
trackler-2.2.1.13 tracks/elixir/exercises/hello-world/hello_world_test.exs
trackler-2.2.1.12 tracks/elixir/exercises/hello-world/hello_world_test.exs
trackler-2.2.1.11 tracks/elixir/exercises/hello-world/hello_world_test.exs
trackler-2.2.1.10 tracks/elixir/exercises/hello-world/hello_world_test.exs
trackler-2.2.1.9 tracks/elixir/exercises/hello-world/hello_world_test.exs
trackler-2.2.1.8 tracks/elixir/exercises/hello-world/hello_world_test.exs
trackler-2.2.1.7 tracks/elixir/exercises/hello-world/hello_world_test.exs
trackler-2.2.1.6 tracks/elixir/exercises/hello-world/hello_world_test.exs
trackler-2.2.1.5 tracks/elixir/exercises/hello-world/hello_world_test.exs
trackler-2.2.1.4 tracks/elixir/exercises/hello-world/hello_world_test.exs