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

  • [Dev Weekly #97] Astro is 39% More Loved Than Next.js, Claude 4.6 + GPT-5.3 Codex Just Dropped, and more
  • How To Sandbox Your AI Agent Using Docker
  • [Dev Weekly #96] Clawdbot Hype, Kimi K2.5 beats Opus 4.5 in SWE benchmarks and Anthropic experiment on AI-driven skill gaining
  • How To Build An AI Agent For Talent Matching – Part 2
  • Claude Code + Ollama: Stress Testing Opus 4.5 vs GLM 4.7

Tags

AI 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 Tailwind CSS Testing TypeScript UI UX Vue.js Web Development
Creative Commons License 2025 Codeminer42 | Privacy Policy | Cookie Policy | Powered by WordPress and Bam.