hammox
🏝 automated contract testing via type checking for Elixir functions and mocks (by msz)
elixir-type_check
TypeCheck: Fast and flexible runtime type-checking for your Elixir projects. (by Qqwy)
hammox | elixir-type_check | |
---|---|---|
1 | 5 | |
550 | 510 | |
- | - | |
0.0 | 5.9 | |
5 months ago | 10 months ago | |
Elixir | Elixir | |
Apache License 2.0 | MIT License |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
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.
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.
hammox
Posts with mentions or reviews of hammox.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-05-20.
elixir-type_check
Posts with mentions or reviews of elixir-type_check.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-10-28.
-
Elixir and Phoenix can do it all
Use this until the one built into the language is ready. It has incredibly low performance impact too.
https://github.com/Qqwy/elixir-type_check
-
Do people actually use @spec? Do you find it useful?
I'm using type check so I'm using @spec!. But basically the same thing. It's great and it can catch nils when I don't expect there to be any. Great to ensure null safety even if the language itself doesn't support it. Just this alone is killer feature for me.
-
What is the Elixir language used for ?
Because Elixir has TypeScript types build in. It has strong types in runtime. 42 != "42", try doing this in TypeScript. Plus there's a library for runtime type checking. https://github.com/Qqwy/elixir-type_check
- TypeCheck: Fast and flexible runtime type-checking for your Elixir projects
What are some alternatives?
When comparing hammox and elixir-type_check you can also consider the following projects:
mox - Mocks and explicit contracts in Elixir
real world example app - Exemplary real world application built with Elixir + Phoenix