proper
bypass
Our great sponsors
proper | bypass | |
---|---|---|
3 | 2 | |
878 | 935 | |
0.1% | 0.4% | |
3.1 | 2.9 | |
9 months ago | 18 days ago | |
Erlang | Elixir | |
GNU General Public License v3.0 only | MIT License |
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.
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/
bypass
-
How to ignore a child of a Supervisor not being able to start during tests?
In order to do this you may use mock (which is simple to use), mox (they have pretty compelling arguments why not to mock traditionally), or specifically for http requests, bypass.
- Elixir: Testando chamadas de uma API externa
What are some alternatives?
StreamData - Data generation and property-based testing for Elixir. 🔮
ExVCR - HTTP request/response recording library for elixir, inspired by VCR.
espec - Elixir Behaviour Driven Development
FakeServer - FakeServer integrates with ExUnit to make external APIs testing simpler
meck - A mocking library for Erlang
chaperon - HTTP Service Performance & Load Testing Framework
Quixir - Property-based testing for Elixir
wallaby - Concurrent browser tests for your Elixir web apps.
espec_phoenix - ESpec for Phoenix web framework.
ponos - ponos is a simple yet powerful load generator written in erlang
hound - Elixir library for writing integration tests and browser automation
factory_girl_elixir - Minimal implementation of Ruby's factory_girl in Elixir.