Top 23 Elixir Testing Projects
-
Project mention: How to write test cases for databse related functions | reddit.com/r/elixir | 2021-11-05
The well known FactoryBot (FactoryGirl) from rails has a pretty good equivalent in Phoenix as ExMachina (https://github.com/thoughtbot/ex_machina) and does the job really well (thoughtbot is a pretty good and stable contributor too, so a nice Omakase plug-in!)
-
-
Scout APM
Less time debugging, more time building. Scout APM allows you to find and fix performance issues with no hassle. Now with error monitoring and external services monitoring, Scout is a developer's best friend when it comes to application development.
-
This is useful when several inheritors require the same set of imports and is best illustrated in Hound — a browser automation testing library:
-
Project mention: How to ignore a child of a Supervisor not being able to start during tests? | reddit.com/r/elixir | 2022-06-11
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.
-
Project mention: How to write test cases for databse related functions | reddit.com/r/elixir | 2021-11-05
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).
-
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.
Project mention: How to ignore a child of a Supervisor not being able to start during tests? | reddit.com/r/elixir | 2022-06-11In 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.
-
I really love mix test.watch - https://github.com/lpil/mix-test.watch
-
SonarLint
Clean code begins in your IDE with SonarLint. Up your coding game and discover issues early. SonarLint is a free plugin that helps you find & fix bugs and security issues from the moment you start writing code. Install from your favorite IDE marketplace today.
-
-
-
-
phoenix-chat-example
💬 A Step-by-Step Beginners Tutorial for Building, Testing & Deploying a Chat app in Phoenix 1.6.11 🚀
-
Project mention: How to ignore a child of a Supervisor not being able to start during tests? | reddit.com/r/elixir | 2022-06-11
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.
-
-
-
-
-
-
-
Project mention: How to write test cases for databse related functions | reddit.com/r/elixir | 2021-11-05
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).
-
Check out https://github.com/edgurgel/mimic for mocking purposes
-
-
-
Elixir Testing related posts
- The solution of Elixir continuous runtime system code coverage collection
- Wallaby v0.30.0 has been released!
- How to ignore a child of a Supervisor not being able to start during tests?
- Como testes ajudam a melhorar o design do código?
- Elixir: Testando chamadas de uma API externa
- How private are Erlang private functions?
- What's your favorite lesser known package?
Index
What are some of the best open-source Testing projects in Elixir? This list will help you:
Project | Stars | |
---|---|---|
1 | ex_machina | 1,757 |
2 | wallaby | 1,390 |
3 | hound | 1,311 |
4 | mox | 1,105 |
5 | faker | 875 |
6 | bypass | 849 |
7 | mix_test_watch | 824 |
8 | espec | 776 |
9 | StreamData | 728 |
10 | ExVCR | 618 |
11 | phoenix-chat-example | 576 |
12 | mock | 574 |
13 | hammox | 479 |
14 | excheck | 312 |
15 | Quixir | 262 |
16 | white_bread | 211 |
17 | power_assert | 207 |
18 | amrita | 198 |
19 | blacksmith | 178 |
20 | mimic | 172 |
21 | gen_rmq | 165 |
22 | FakerElixir | 149 |
23 | shouldi | 135 |
Are you hiring? Post a new remote job listing for free.