In this blog post, we’ll talk about property-based testing and sample data generation. We’ll cover what these are, why we want them in Elixir, and what are are plans for the future. If you want to use the features discussed here or you want to read more formal documentation, head over to stream_data, which is a library that currently provides both features (albeit in beta form) and which is where
A couple of weeks ago, I wrote about how to move a mock module out of your production code and into your test folder. Today we’ll follow up with a short post on getting fake responses from your mock module. For this example I’m going to use HTTP mocking, because that is the one thing I have to mock more than any other, and because it is a heck of a lot easier than mocking Logger, which is the othe
TL/DRThe compile path for a mix project defaults to /lib, but you can add environment specific load paths by defining a function in your mix.exs file that takes the Mix.env as an input. Reference this function by adding a elixirc_paths configuration to the project function of your mix.exs file. See the end of this post for an example. Mock or Fake?Coming from Ruby into Elixir has its pitfalls. One
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く