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.43 tracks/elixir/exercises/hello-world/hello_world_test.exs
trackler-2.2.1.42 tracks/elixir/exercises/hello-world/hello_world_test.exs
trackler-2.2.1.41 tracks/elixir/exercises/hello-world/hello_world_test.exs
trackler-2.2.1.40 tracks/elixir/exercises/hello-world/hello_world_test.exs
trackler-2.2.1.39 tracks/elixir/exercises/hello-world/hello_world_test.exs
trackler-2.2.1.38 tracks/elixir/exercises/hello-world/hello_world_test.exs
trackler-2.2.1.37 tracks/elixir/exercises/hello-world/hello_world_test.exs
trackler-2.2.1.36 tracks/elixir/exercises/hello-world/hello_world_test.exs
trackler-2.2.1.35 tracks/elixir/exercises/hello-world/hello_world_test.exs
trackler-2.2.1.34 tracks/elixir/exercises/hello-world/hello_world_test.exs
trackler-2.2.1.33 tracks/elixir/exercises/hello-world/hello_world_test.exs
trackler-2.2.1.32 tracks/elixir/exercises/hello-world/hello_world_test.exs
trackler-2.2.1.31 tracks/elixir/exercises/hello-world/hello_world_test.exs
trackler-2.2.1.30 tracks/elixir/exercises/hello-world/hello_world_test.exs
trackler-2.2.1.29 tracks/elixir/exercises/hello-world/hello_world_test.exs
trackler-2.2.1.28 tracks/elixir/exercises/hello-world/hello_world_test.exs
trackler-2.2.1.27 tracks/elixir/exercises/hello-world/hello_world_test.exs
trackler-2.2.1.26 tracks/elixir/exercises/hello-world/hello_world_test.exs
trackler-2.2.1.25 tracks/elixir/exercises/hello-world/hello_world_test.exs
trackler-2.2.1.24 tracks/elixir/exercises/hello-world/hello_world_test.exs