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 …

Content type

Beginner Intermediate Advanced

Recent Posts

  • Codeminer42 Dev Weekly #59
  • Async Code Demystified: Promises, Fetch, and useEffect
  • Codeminer42 Dev Weekly #58
  • What’s New in Node.JS 24
  • Introduction to Relational Databases and SQL

Tags

Android API Artificial Intelligence Authentication Best Practices C Computer Science CSS Database Dependency Injection Design Patterns DevOps Docker Elixir Frontend Functional Programming Git Golang HTML Information Security Infrastructure Java JavaScript NextJS Node.js open-source Performance PostgreSQL Programming Rails React Ruby Ruby on Rails Rust Software Architecture Software Development SQL Testing Tutorial TypeScript UI User Experience UX Vue.js Web Development
Creative Commons License 2025 Codeminer42 | Privacy Policy | Cookie Policy | Powered by WordPress and Bam.