Ilya Brin - Software Engineer

History is written by its contributors

Test Doubles: Mocks, Stubs and Dependency Injection in Go

Hey tester! 👋

Are your tests slow, brittle, and dependent on external services? Every time the database is unavailable, half your tests fail?

Test Doubles are your salvation. Instead of real dependencies, use fakes: mocks, stubs, fakes.

Let’s break down how to properly isolate code for testing and write fast, reliable unit tests in Go 🚀

Continue reading

GitHub Actions: Advanced Workflows for Go Projects

2025-01-15 5 min read Devops Golang Ci-Cd Ilya Brin

Hey there! 👋

Are you still manually running tests before every commit? Deploying to production via SSH and praying nothing breaks?

GitHub Actions turns your repository into an automated machine: tests, linters, builds, deployments - all without your intervention.

But most people only use basic features. You can set up matrix testing, dependency caching, conditional deployments, and even automatic releases.

Let’s explore advanced patterns for GitHub Actions in Go projects 🚀

Continue reading