Skip to content
The Miners

The Miners

Codeminer42’s Engineering Blog

  • #6982 (no title)
  • #6982 (no title)

Tag: Metaprogramming

How to Test Shared Behavior in Elixir Implementing functionality similar to RSpec’s shared examples

How to Test Shared Behavior in Elixir

Implementing functionality similar to RSpec’s shared examples

Thiago Araújo Silvaby Thiago Araújo SilvaMarch 29, 2017May 29, 2023

Create a new mix project if you want to follow along: $ mix new calculator $ cd calculator Suppose you have a Calculator module and …

Cracking the Box Open with Module Factories

About the lesser-known Ruby Module Factories

Thiago Araújo Silvaby Thiago Araújo SilvaDecember 19, 2016

Metaprogramming is one of Ruby’s most powerful, intriguing and hard-to-grasp features. Ruby has a deep kind of truth that I could not yet find in …

  • English
  • Português (Brasil)

Content type

Beginner Intermediate Advanced

Recent Posts

  • Stop Putting Best Practices in Skills
  • Por que um Algoritmo de Machine Learning dos Anos 1990 Destrói LLMs na Previsão de Preços de Casas
  • Why a 1990s Machine Learning Algorithm Destroys LLMs at Predicting House Prices
  • [Dev Weekly #105] Claude code source code leaked | Supply Chain Chaos | Google Gemma 4 is announced | Bun’s 5x Speed Boost
  • [Dev Weekly #104] Wine 11 Rewrites Linux Gaming | Claude Automates WordPress

Tags

AI AI Agents API Authentication Backend Best Practices C CSS Database Design Patterns DevOps Docker Elixir Frontend Functional Programming Git Golang HTML Information Security Infrastructure Java JavaScript LLM NextJS Node.js open-source Performance PostgreSQL Programming Python React React Native Ruby Ruby on Rails Rust Security Software Architecture Software Development SQL Testing TypeScript UI UX Vue.js Web Development
Creative Commons License 2025 Codeminer42 | Privacy Policy | Cookie Policy | Powered by WordPress and Bam.