patch
mix_test_watch
patch | mix_test_watch | |
---|---|---|
1 | 3 | |
181 | 891 | |
- | - | |
5.5 | 5.0 | |
3 months ago | about 2 months 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.
patch
-
How private are Erlang private functions?
Here’s a testing library that exposes private functions for testing. https://github.com/ihumanable/patch
Whether it’s a good idea to test private functions is a whole different issue…
mix_test_watch
-
Run tests automatically on save
mix_test_watch
-
What's your favorite lesser known package?
I really love mix test.watch - https://github.com/lpil/mix-test.watch
-
Execute and Watch Elixir tests from iex.
A way to do it in Elixir is just to use the fswatch as presented in Elixir Mix Test documentation, or using the excellent mix.test-watch library, but them don't work well with iex, the Elixir REPL, so why not do something else.
What are some alternatives?
mox - Mocks and explicit contracts in Elixir
Quixir - Property-based testing for Elixir
ex_machina - Create test data for Elixir applications
Stubr - Stubr is a set of functions helping people to create stubs and spies in Elixir.
meck - A mocking library for Erlang
efrisby - A REST API testing framework for erlang
wallaby - Concurrent browser tests for your Elixir web apps.
power_assert - Power Assert in Elixir. Shows evaluation results each expression.
ExVCR - HTTP request/response recording library for elixir, inspired by VCR.
ex_parameterized - This library support parameterized test with test_with_params macro.
ElixirMock - Creates clean, concurrent, inspectable mocks from elixir modules
mixunit - an `eunit` task for mix based projects