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.1.0.46 tracks/elixir/exercises/hello-world/hello_world_test.exs
trackler-2.1.0.45 tracks/elixir/exercises/hello-world/hello_world_test.exs
trackler-2.1.0.44 tracks/elixir/exercises/hello-world/hello_world_test.exs
trackler-2.1.0.43 tracks/elixir/exercises/hello-world/hello_world_test.exs
trackler-2.1.0.42 tracks/elixir/exercises/hello-world/hello_world_test.exs
trackler-2.1.0.41 tracks/elixir/exercises/hello-world/hello_world_test.exs
trackler-2.1.0.40 tracks/elixir/exercises/hello-world/hello_world_test.exs
trackler-2.1.0.39 tracks/elixir/exercises/hello-world/hello_world_test.exs
trackler-2.1.0.38 tracks/elixir/exercises/hello-world/hello_world_test.exs
trackler-2.1.0.37 tracks/elixir/exercises/hello-world/hello_world_test.exs
trackler-2.1.0.36 tracks/elixir/exercises/hello-world/hello_world_test.exs
trackler-2.1.0.34 tracks/elixir/exercises/hello-world/hello_world_test.exs
trackler-2.1.0.33 tracks/elixir/exercises/hello-world/hello_world_test.exs
trackler-2.1.0.32 tracks/elixir/exercises/hello-world/hello_world_test.exs
trackler-2.1.0.31 tracks/elixir/exercises/hello-world/hello_world_test.exs
trackler-2.1.0.30 tracks/elixir/exercises/hello-world/hello_world_test.exs
trackler-2.1.0.29 tracks/elixir/exercises/hello-world/hello_world_test.exs
trackler-2.1.0.28 tracks/elixir/exercises/hello-world/hello_world_test.exs
trackler-2.1.0.27 tracks/elixir/exercises/hello-world/hello_world_test.exs
trackler-2.1.0.26 tracks/elixir/exercises/hello-world/hello_world_test.exs