How to automatically run stale tests on file change in Elixir

Short blog article with script to automatically run stale tests whenever file is changed


I wanted to share with you a small project that I have been working on for the last weeks.

It is a small tool for assisting you while developing or testing Phoenix sockets and channels, or in other words, a minified version of the famous Postman app but for Phoenix WebSockets.

It is still under development, and I am planning to add some cool features, so suggestions and feedback are very welcome :)

Happy coding!

A package with some extra phoenix generators

I often want to quickly create a controller or view, not necessarily tied to an entire context/model.

Right now I copy an existing controller/view, and strip it down to a new one. These generators look pretty small, but imo it would be a great workflow improvement to be able to generate these from the command line.

There wasn’t any interest in maintaining this in Phoenix itself, so I made a little package with controller and view generators. Might expand later!

Shameless plug: Check out @elixirstatus' other community project:

Credo, a new static code analysis tool that acts as a code linter, but also focusses on teaching coding practices and code consistency.

A short overview of Elixir executables with escripts

A short intro to escripts, what they are, how they integrate with mix and why you should avoid using archives.

@rrrene joins @spawnfest's jury :)

What a better place to share this news than here, right? Thanks @rrrene for joining us on

Automatic Bang! Function Generation in Elixir

I just published unsafe which aids in generation of bang functions based on easy module attributes.

Short blog post here, if you feel like reading why:

assert_value - ExUnit's assert on steroids that writes and updates tests for you

We are releasing assert_value. assert_value is ExUnit’s assert on steroids that writes and updates tests for you.

You can use assert_value instead of ExUnit’s assert. It makes Elixir tests interactive and lets you to create and update expected values with a single key press.

Elixir Forum Announcement

json_stream_encoder v0.1.1

I’ve published a new version of json_stream_encoder with updated (less typo-ridden) documentation.

If you are looking for a way to stream out JSON incrementally without fitting the whole data structure in memory, check out the source.

IntelliJ Elixir v6.5.1

  • Fix MockProjectEx being a runtime dependency instead of just a test dependency.

Installation Instructions

ElixirWeekly: The Elixir Community Newsletter, covering community news you easily miss, shared on ElixirStatus and the web, in one email every Thursday.

ExUnit Quick Reference

ExUnit is the testing framework that ships with Elixir. I wrote a quick reference guide for our team and wanted to share with anyone else that found it helpful.


Nerves Project Update and Training Schedule

See what the Nerves team has been working on recently and where you can learn more at upcoming training events -

IntelliJ Elixir v6.5.0

  • Elixir 1.5 grammar

    • not in
    • Precedence of @numeric and unary numeric prefix operators
  • Make binary infix vs unary prefix +/- handling more robust to support one(two, - three)
  • Call withCharSet(Charsets.UTF_8) on all GeneralCommandLines to prevent encoding errors on Windows.

Installation Instructions

Live coded chat app in 45 minutes

Several important areas for Elixir development today are covered. Using Docker for local development as well production deployment. Managing configuration for multiple services. Testing and documenting APIs.

Authex - a simple JWT alternative.

Many of our app API’s use the same process for JWT authentication and authorization. I finally had time to extract things into releasable libraries. A simple alternative to some of the other options available out there. Includes authentication, authorization, as well as blacklisting.

Hope someone can find it useful.

Grokking the Y Combinator with Elixir

Trying to understand the Y combinator has always left me with a throbbing headache and a craving for pretzels. But recently, while reading through The Little Schemer, I had a moment of clarity which left me with a much deeper understanding of how the whole thing works.

Check out Grokking the Y Combinator with Elixir for a step by step breakdown of what the Y combinator is, why it’s interesting, and how it can be derived through plain old Elixir code.

Announcing Bootleg: Simple deployment and server automation for Elixir.

Many in the community are already aware of Bootleg, but I just published a quick “official” announcement over on the Lab Zero blog with a very quick guide to getting started.

Elite #judges at @spawnfest this year (@joeerl, @mononcqc, @cmeik)!

Check the lineup at / #erlang #elixirlang

Drab 0.6.1 is out, with better living assigns and shared commanders

Drab is an extension to Phoenix, designed to remote (from the server side) control the user interface.

The library has completely redesigned custom EEx engine, so it is not putting its <span> in every corner of your template anymore.

Also, this version introduces shared commander, allowing you to create components of Drab’s template + commander.

Check out the demo page, install, test, develop and enjoy!

Using PostgreSQL Jsonb columns in Ecto

How to query jsonb columns in Ecto using fragment:

Elixir Formatter Preview

Heard about the new formatter coming to Elixir? We take a look in our latest episode: