faker
bypass
Our great sponsors
faker | bypass | |
---|---|---|
3 | 2 | |
1,014 | 935 | |
1.3% | 0.4% | |
7.4 | 2.9 | |
6 days ago | 9 days ago | |
Elixir | Elixir | |
MIT License | 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.
faker
-
Test Data Libraries for Elixir
Faker generates sample data that looks realistic but is fake. So, instead of using a sequence like those provided by ExMachina or ExZample, we can use Faker to generate false but genuine-looking data:
-
How to write test cases for databse related functions
Generating the data structs for the views can be automated using libraries like Faker and Blacksmith - and honestly writing your own generators is a fun and easy exercise in really understanding your data and how it's manipulated (which I would argue is critical to writing clean software).
- Succinct naming
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?
ex_machina - Create test data for Elixir applications
ExVCR - HTTP request/response recording library for elixir, inspired by VCR.
white_bread - 🍞 Story BDD tool for elixir using gherkin
FakeServer - FakeServer integrates with ExUnit to make external APIs testing simpler
blacksmith - Data generation framework for Elixir
chaperon - HTTP Service Performance & Load Testing Framework
FakerElixir - [unmaintained] FakerElixir generates fake data for you.
wallaby - Concurrent browser tests for your Elixir web apps.
ecto_it - Ecto plugin with default configuration for repos for testing different ecto plugins with databases
ponos - ponos is a simple yet powerful load generator written in erlang
factory_girl_elixir - Minimal implementation of Ruby's factory_girl in Elixir.