- Testing
- TDD
- Mocks
Strict mocks vs fakes: when green is a lie
A test can be green and still hide a bug. The difference between a strict mock and a fake is not theoretical — it changes what you are verifying.
Full Stack Developer
Software Craftsman
I'm a keyboard superhero, embarking on an epic adventure to unravel the mysteries of Quality Code. Not just any code... code for humans. My mission is clear: writing elegant code.
// How I build software
Java, C#, .NET, Node.js. APIs that model the domain with care and stand the test of change.
React, Next.js, Astro — interfaces with soul, accessible and genuinely fast.
Docker, GitHub Actions, Google Cloud, DigitalOcean. Reproducible pipelines and deployments without surprises.
Hexagonal, ports & adapters — code that breathes and welcomes change.
Red-Green-Refactor as a daily discipline. Tests as design, not a safety net.
Claude Code, Copilot, Gemini. AI as a craftsman multiplier, not a replacement.
// tech constellation
// Notes, learnings and experiments
A test can be green and still hide a bug. The difference between a strict mock and a fake is not theoretical — it changes what you are verifying.
Coupling means touching one thing breaks five. Dependency Inversion is one of the most powerful tools to fight it.
How we transformed blank screens into progressive loading experiences using React Suspense with Server Components in Next.js, without touching the backend.
// The numbers speak
// Real-world projects
Professional website for a painting company in Valencia. Secured contact form and conversion-focused design.
Astro 5, Tailwind CSS
Financial calculator estimating IRPH mortgage damages, connected to Google Sheets for real-time calculations.
Astro 5, Google Sheets API
SaaS for installation companies: measurements, quotes, installations, and team management.
Astro 5, Supabase, PWA
This very site as a case study: technical decisions, stack, accessibility and consent-aware analytics, explained with reasoning.
Astro 6, Keystatic, Tailwind
// What I share with the community
Lean Mind ·
Hands-on Git workshop for junior apprentices. Covered the main commands, Git usage in corporate environments, and different workflows. Attendees had a purpose-built repository with examples to practice on their own.
With Aitor Santana Cabrera
Nerdearla ·
Workshop covering the fundamentals of test doubles: dummies, stubs, spies, strict mocks, and fakes. Examples in Java, Python, TypeScript, C#, Go, and Kotlin to grasp when and why to use each.
// Their words, not mine