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

  • Figma MCP Constrói Exatamente o Que Você Pede – Nada Mais
  • DICA DE IA: Executando Duas Contas do Claude Code
  • [Dev Weekly #103] NVIDIA DLSS 5 Rewrites Graphics | Leanstral’s Lean Revolution | AI in Node.js Core Sparks Debate
  • AI TIP: Running Two Claude Code Accounts
  • [Dev Weekly #102] Claude launches automated PR reviews, new Node.js release and Vite 8 Speed Boost

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 NextJS Node.js open-source Performance PostgreSQL Programming Python React React Native Ruby Ruby on Rails Rust Security Software Architecture Software Development SQL Tailwind CSS Testing TypeScript UI UX Vue.js Web Development
Creative Commons License 2025 Codeminer42 | Privacy Policy | Cookie Policy | Powered by WordPress and Bam.