While working through the code samples for Learn you some Erlang I found it helpful to quickly define and run some EUnit test cases. So far all the Erlang I did involved using rebar, but that didn’t make sense for code snippets so here is a simple command line for recompiling and running the unit tests for a module.