Description Type Source Link Date
Spec tests: Quick sort algorithm test
elixir 1.3.2
espec 1.0.0
defmodule QuickSortSpec do use ESpec, async: true describe "&split/2" do let :pivot, do: 5 let :l... http://elixir.gbaptista.com/t/PMutKA 11/19/17, 20:07
Spec tests: Functions test
elixir 1.3.2
espec 1.0.0
defmodule MyFunctionsSpec do use ESpec context "sum" do it "sum x + y" do expect(MyFunctions.sum(... http://elixir.gbaptista.com/t/2OBzYA 11/19/17, 20:05
Spec tests: Functions test
elixir 1.3.2
espec 1.0.0
defmodule MyFunctionsSpec do use ESpec context "sum" do it "sum x + y" do expect(MyFunctions.sum(... http://elixir.gbaptista.com/t/xsSQWg 11/19/17, 20:05
Spec tests: Doctests test
elixir 1.3.2
espec 1.0.0
defmodule DoctestSpec do use ESpec, async: true doctest KVServer.Command end http://elixir.gbaptista.com/t/bE28KQ 11/19/17, 20:04
Spec tests: Empty template test
elixir 1.3.2
espec 1.0.0
defmodule ExampleSpec do use ESpec context "test something" do it "tests the truth" do expect tru... http://elixir.gbaptista.com/t/xSZYIg 11/19/17, 20:03
Spec tests: Functions test
elixir 1.3.2
ex_spec 2.0.0
defmodule MyFunctionsTest do use ExSpec, async: true context "sum" do it "sum x + y" do assert My... http://elixir.gbaptista.com/t/4aJUyw 11/19/17, 20:01
Spec tests: Empty template test
elixir 1.3.2
ex_spec 2.0.0
defmodule MyTest do use ExSpec, async: true context "test something" do it "assert true", do: ass... http://elixir.gbaptista.com/t/MhS5Ew 11/19/17, 20:00
Unit tests: Functions test
elixir 1.3.2
defmodule TestMyFunctions do use ExUnit.Case test "add" do assert MyFunctions.sum(2, 2) == 4 asse... http://elixir.gbaptista.com/t/zLlwwA 11/19/17, 19:59
Unit tests: Doctests test
elixir 1.3.2
defmodule KVServer.CommandTest do use ExUnit.Case, async: true doctest KVServer.Command end http://elixir.gbaptista.com/t/D6oVig 11/19/17, 19:57
Unit tests: Empty template test
elixir 1.3.2
defmodule ExampleTest do use ExUnit.Case test "the truth" do assert true == true end end http://elixir.gbaptista.com/t/QezOsg 11/19/17, 19:56
Behaviour Description test
elixir 1.3.2
white_bread 2.7.0
defmodule SunDoe.CoffeeShopContext do use WhiteBread.Context given_ "there are 1 coffees left in ... http://elixir.gbaptista.com/t/LdapqQ 11/19/17, 19:54
Current Elixir infos playground
elixir 1.3.2
IO.puts "Current Elixir infos:\n" IO.puts "Elixir Version: #{System.version}\n" IO.puts "Build in... http://elixir.gbaptista.com/p/z0E9Tw 11/19/17, 19:48
Hello World playground
elixir 1.3.2
IO.puts "Hello world from Elixir" http://elixir.gbaptista.com/p/orwlAw 11/19/17, 19:47
What time is it? playground
elixir 1.3.2
IO.puts "What time is it?" <> "\n" IO.puts DateTime.utc_now() IO.puts "\nTime zone: '#{DateTime.u... http://elixir.gbaptista.com/p/ktEkLQ 11/19/17, 02:07