Skip to content

Instantly share code, notes, and snippets.

@ihumanable
Last active December 3, 2021 21:48
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save ihumanable/ea4569cda12dab1498351e9fbcc4161f to your computer and use it in GitHub Desktop.
Save ihumanable/ea4569cda12dab1498351e9fbcc4161f to your computer and use it in GitHub Desktop.
Test Skeleton
defmodule Discord.Test do
use ExUnit.Case
describe "send_message/1" do
test "errors on invalid messages" do
# TODO
end
test "errors when message can't be durably stored" do
# TODO
end
test "broadcasts message on success" do
# TODO
end
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment