katt
meck
Our great sponsors
katt | meck | |
---|---|---|
3 | 1 | |
117 | 805 | |
0.9% | - | |
0.6 | 4.9 | |
11 months ago | about 1 month ago | |
Erlang | Erlang | |
Apache License 2.0 | Apache License 2.0 |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
katt
-
Beyond OpenAPI
What this misses is the curl response format.
Long time ago at Klarna we used this tool: https://github.com/for-GET/katt Here's an example: https://github.com/for-GET/katt/blob/master/doc/example-http...
- KATT (Klarna API Testing Tool) Is an HTTP-Based API Testing Tool for Erlang
-
Hurl, run and test HTTP requests with plain text
https://github.com/for-GET/katt is the same concept, but following the pattern matching philosophy. Written in Erlang, available as a CLI tool as well but needs the erlang runtime installed.
Code example: https://github.com/for-GET/katt/blob/master/doc/example-http...
Disclaimer: I'm one of the authors, thus biased, but the reason I'm mentioning katt is that the low barrier of entry for captures and asserts makes it a nice requirement tool for non-techs to write complex API scenarios.
meck
-
An Introduction to Mocking Tools for Elixir
Mock is the first result you will see when searching “Elixir Mock”, and is a wrapper around Erlang’s meck that provides easy mocking macros for Elixir.
What are some alternatives?
mock - Mocking library for Elixir language
mox - Mocks and explicit contracts in Elixir
hound - Elixir library for writing integration tests and browser automation
ecto_it - Ecto plugin with default configuration for repos for testing different ecto plugins with databases
ElixirMock - Creates clean, concurrent, inspectable mocks from elixir modules
proper - PropEr: a QuickCheck-inspired property-based testing tool for Erlang
Stubr - Stubr is a set of functions helping people to create stubs and spies in Elixir.
ponos - ponos is a simple yet powerful load generator written in erlang
test_that_json - JSON-related helpers for your Elixir testing needs
ex_machina - Create test data for Elixir applications
mix_erlang_tasks - Common tasks for Erlang projects that use Mix