flow_assertions:Elixir,Ecto和Phoenix的流式断言

时间:2021-04-17 04:58:25
【文件属性】:
文件名称:flow_assertions:Elixir,Ecto和Phoenix的流式断言
文件大小:222KB
文件格式:ZIP
更新时间:2021-04-17 04:58:25
Elixir 流断言 这是Elixir的ExUnit的断言库。 它强调两件事: 通过捕获可在管道中使用的函数中的常用断言,使测试更易于扫描。 该库将吸引喜欢以下内容的人: VM . ServiceGap . accept_form (params, @institution ) |> ok_content |> assert_valid |> assert_changes ( id: 1 , in_service_datestring: @iso_date_1 , out_of_service_datestring: @iso_date_2 , reason: " reason " ) ...对此: assert { :ok , changeset} = VM . ServiceGap
【文件预览】:
flow_assertions-main
----mix.lock(1KB)
----.gitignore(587B)
----mix.exs(1KB)
----.formatter.exs(97B)
----LICENSE(1KB)
----CHANGELOG.md(2KB)
----README.md(2KB)
----lib()
--------messages.ex(2KB)
--------enum_a.ex(3KB)
--------struct_a.ex(1KB)
--------map_a.ex(7KB)
--------define()
--------misc_a.ex(8KB)
--------no_value_a.ex(4KB)
--------flow_assertions.ex(3KB)
--------checkers.ex(3KB)
--------assertion_a.ex(3KB)
--------tabular_a.ex(7KB)
----TODO.md(97B)
----pics()
--------assertion_error.png(124KB)
--------error.png(35KB)
--------error2.png(35KB)
----test()
--------map_a_assert_fields_test.exs(4KB)
--------checkers_test.exs(3KB)
--------no_value_use_test.exs(795B)
--------support()
--------map_a_assert_same_map_test.exs(4KB)
--------no_value_custom_test.exs(854B)
--------test_helper.exs(15B)
--------define()
--------struct_a_test.exs(646B)
--------misc_a_test.exs(7KB)
--------tabular_a_test.exs(5KB)
--------map_a_test.exs(3KB)
--------enum_a_test.exs(2KB)

网友评论