New Blog Posts Out Now!
Hey folks,
I've been busy writing blog posts in the past month and wanted to give you a small update on what I've recently published. Let's see:
Customize Generic UI Copy with Your User's Domain-specific Terms
The title of this one is a mouthful, but in essence, I explain how to replace all occurrences of e.g. Employee
in your UI with something custom per user, like Metamate
or Googler
using Gettext Domains.

Replace Generic UI Copy with Your User's Domain-Specific Terms Using Gettext Domains
Learn how to dynamically replace generic UI copy with your users' domain-specific terms using Gettext domains.
Test async work with assert_eventually
This post covers a custom helper function that I use in many projects. It allows you to wait until an async task has completed without using Process.sleep/1
. assert_eventually
is a small assertion helper that checks that your test condition will succeed, eventually. It's particularly helpful if you have to test complex asynchronous processes and all you want to do is start them, lean back, and check whether your system reaches the expected end-state within a given time frame.

Test async work in Elixir with assert_eventually
Test async tasks in Elixir without using Prosess.sleep but by - get this - actually waiting for them to complete!
Alright, that's it for now :)
Keep your head up in these trying times ❤️
Best, Peter