Bureaucrat
Learn what Bureaucrat is and how we can use it in our Elixir projects.
We'll cover the following
Need for Bureaucrat
Many of the tools available directly in Elixir, such as ExUnit and documentation, focus on modules and functions. ExUnit is a great tool for unit testing. ExDoc is excellent for generating documentation from modules and functions, with guides covering the remaining functionality.
However, as developers tackle particular domains, such as the domain of web applications with Phoenix, the need for more specific tools arises. So, before finishing the testing section, we’ll cover two tools that are specific to web applications, exploring them in the context of Phoenix. If you’re using Elixir for other domains, such as embedded software or data processing, it’s likely those domains include their own abstractions, which provide similar benefits.
To get started, let’s take a look at a Phoenix controller test:
Get hands-on with 1400+ tech skills courses.