Unit Testing Correctly
Explains why common Ruby unit tests are flawed and demonstrates proper unit testing with mocks and stubs for isolation.
Seth Vargo is a software engineer and writer focused on Go, developer experience, security, and cloud infrastructure, sharing practical insights from building and operating large-scale systems.
63 articles from this blog
Explains why common Ruby unit tests are flawed and demonstrates proper unit testing with mocks and stubs for isolation.
A tutorial on implementing two-factor authentication for SSH using Google Authenticator and PAM.
A guide on installing Ruby 2.0 Release Candidate 1 using Homebrew and rbenv, including special configuration cases.
A guide on migrating Chef cookbooks to individual repositories using Berkshelf for dependency management.
A guide to installing Ruby 2.0 Preview 2 on Mac OSX using Homebrew and rbenv, including troubleshooting tips.
Explores Ruby's &:method shortcut for map, its limitations, and proposes a hack to allow mapping local methods.
A guide to dynamically add SSH known hosts using a custom Chef LWRP, solving automation issues during server provisioning.
A developer migrates their blog from Tumblr to Octopress for better code support, uptime, and control.
Creating custom form helpers for Bootstrap in Spine.js using Eco templates and Underscore.js mixins to reduce verbose markup.
A developer shares a cleaner method for defining user authorization roles using the CanCan gem in Ruby on Rails.
A quick tutorial on creating a responsive 960px grid system using SASS loops and variables for CSS layout.
A critique of modern software versioning practices, proposing clearer definitions for semantic versioning (x.y.z) and addressing confusion caused by terms like alpha, beta, and release candidates.
A tribute to a visionary tech leader who inspired innovation and challenged the status quo, reflecting on his legacy at Apple.
Explores the crucial distinction between raw information and applied knowledge, especially within Information Systems and data management.
A quick terminal command to permanently unhide the ~/Library folder in OS X Mountain Lion and later versions.
How to disable the 3-second reply/forward animation in Apple Mail on OSX Mountain Lion using a terminal command.
A guide to installing the ImageMagick image manipulation tool on OS X Mountain Lion using Homebrew or MacPorts.
Introduces Powify, a command-line gem for managing the Pow local Rack server for Mac, simplifying app and server management.
Compares traditional .htaccess redirects with Rails' application-level approach, highlighting cleaner code and server independence.
A tutorial on building a custom domain URL shortener using Ruby on Rails, covering models, migrations, and routing.