From 7461f3f5a65a9de7a333a0cde23f4d4b8ac19773 Mon Sep 17 00:00:00 2001 From: Patrick Smith Date: Tue, 23 Jan 2024 11:28:13 +1100 Subject: [PATCH] Pro: write unit tests with ExUnit --- README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index f79806c..f1a70e8 100644 --- a/README.md +++ b/README.md @@ -8,7 +8,8 @@ Write WebAssembly with the power of Elixir as your compiler: - Use Elixir’s **module system** to break problems down and then compose them together. - Chain function calls together with the **pipe `|>` operator**. -- Publish reusable code with the **Hex package manager**. +- Publish reusable code with the [**Hex package manager**](https://hex.pm). +- Write unit tests using [Elixir’s built-in **ExUnit**](https://hexdocs.pm/ex_unit/ExUnit.html). - Reduce boilerplate with Elixir’s **powerful macro system**. - **Run dynamic Elixir code at compile time** e.g. talk to the rest of your Elixir application, or make network requests. - **Compile modules on-the-fly** e.g. use feature flags to conditionally compile code paths or enable particular WebAssembly instructions, creating a custom “tree shaken” WebAssembly module per user.