Skip to content
The Miners

The Miners

Codeminer42’s Engineering Blog

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, 2017January 12, 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, 2016November 11, 2019

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

  • Alternative for non-powerful machines to develop mobile applications
  • Symmetric Encryption in JavaScript for PII
  • Mastering Git workflow – Part 2/2
  • Using Mapbox to plan a city: a use case
  • Test mocking in practice with Sinon

Tags

Activerecord API C Clean Architecture Crystal Lang CSS Database Design Patterns DevOps DI Docker Docker Compose Elixir ES6 Flutter Front End Development Functional Programming Git git-stash git-worktree Github JavaScript Node.js Nodejs Package Management Performance Programming Rails React Redux Refactoring Ruby Ruby on Rails Software Architecture Software Development State Management Test Testing Tutorial Typescript Vue Vuejs Vuex Web Development Yarn

Meta

  • Log in
  • Entries feed
  • Comments feed
  • WordPress.org
Copyright © 2023 Codeminer42. Powered by WordPress and Bam.