katt
proper
Our great sponsors
katt | proper | |
---|---|---|
3 | 3 | |
117 | 878 | |
0.0% | 0.1% | |
0.6 | 3.1 | |
12 months ago | 9 months ago | |
Erlang | Erlang | |
Apache License 2.0 | GNU General Public License v3.0 only |
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.
proper
-
How programmers make sure that their software is correct
> There are generally two main categories of tests. There are unit tests [and] Integration tests
Later on there is a mention of fuzzing. However, there is something better called property tests. Where the on failure there is automatic "shrinking" of input complexity to find a minimally failing test scenario.
For Erlang and Elixir I recommend https://propertesting.com/ book and the PropEr test framework https://github.com/proper-testing/proper.
As an example, here is the use of an advanced feature called targeted property based testing: https://proper-testing.github.io/tutorials/PropEr_testing_wi... used to test a labyrinth.
-
Laura Castro on Property-Based Testing in Elixir
[1] https://proper-testing.github.io/
What are some alternatives?
ponos - ponos is a simple yet powerful load generator written in erlang
StreamData - Data generation and property-based testing for Elixir. 🔮
test_that_json - JSON-related helpers for your Elixir testing needs
espec - Elixir Behaviour Driven Development
mix_erlang_tasks - Common tasks for Erlang projects that use Mix
meck - A mocking library for Erlang
hound - Elixir library for writing integration tests and browser automation
Quixir - Property-based testing for Elixir
bypass - Bypass provides a quick way to create a custom plug that can be put in place instead of an actual HTTP server to return prebaked responses to client requests.
espec_phoenix - ESpec for Phoenix web framework.
excheck - Property-based testing library for Elixir (QuickCheck style).