thiagoa
Test-driving a Stream-powered Elixir Application
Hello everyone,
I published the first post of a series which aims to TDD a full application under an Umbrella project. Each post will go over a particular component or technique, and the last one will integrate all functionality into a Phoenix front end.
In this issue, we build an Elixir library while incrementally introducing powerful features such as streams. There are tips about TDD, application design, how streams work under the hood, asynchronous tasks, using Agents and StringIO to fulfill testing needs, and much more.
https://semaphoreci.com/community/tutorials/test-driving-a-stream-powered-elixir-library
First Post!
thiagoa
Of course, I would love to get any feedback and know what you guys think 
Popular in Blog Posts
Hey all, it’s Erlang Solutions.
We released loads of Elixir content from our senior developers last week in celebration of ElixirConf US...
New
Phoenix LiveView v0.20.4 offers a hidden gem with its handy little JS.toggle_class/1 feature. This addition simplifies toggling classes f...
New
Hi there!
Recently I was playing around with extracting and updating data in the DB and for fun challenged myself to try to implement a ...
New
Our very handsome and humble José Valim (@josevalim) just published Kubernetes and the Erlang VM: orchestration on the large and the sma...
New
Long story short, over the past years we’ve been scaling our operation quite a lot at Unbabel. Most of our codebase is Python and some of...
New
Posted via Devtalk (see this thread for details).
New
I talk about how I really like to use runtime configuration and discuss some common pitfalls of configuration in Elixir.
New
Hello everyone, I just published my first blog post ever. I am learning Elixir, OTP & Phoenix and wanted to start a blog for a while ...
New
Support for AlpineJS in LiveView was added in 0.13.3 and it works fabulously. I just wrote a blog article about it and plan another one s...
New
Does the world need another How to create a blog article?
Maybe not.
But then again, creating something out of nothing is what we love....
New
Other popular topics
I would like to know that is there any online source for learning Phoenix Framework for building E-Commerce Store? Any advantage on build...
New
What is most correct way to open, read and parse JSON file with poison?
For example if we have example.json file in root of some projec...
New
Using vs code and installed ElixirLS: support and debugger.
And I got an error popped up on start up says
Failed to run ‘elixir’ comma...
New
The Elixir Typespec docs show the following syntax for keyword lists in typespecs:
# ...
| [key: type] # keyword lis...
New
I am using Ecto timestamps with postgres, I can see the timestamps() use the :naive_dateime but for my use case I wanted to store the ti...
New
Is there a way to get the call stack or stack trace at any point in the code? Not from exceptions, but an expression that returns how the...
New
ExUnit now has describe blocks which is a welcome addition coming from RSpec. In the docs, it states that nested hierarchies of describe ...
New
by Lance Halvorsen
Elixir and Phoenix are generating tremendous excitement as an unbeatable platform for building modern web application...
New
Hi,
I have to write a raw query for one of my project. But till now I have used ecto queries and don’t have much experience writing raw ...
New
I am using the Starship cross-shell prompt – it seems pretty nice, but I get some errors:
[WARN] - (starship::utils): Executing command ...
New







