Bartosz Pietrucha

One-click-to-production: Test and automate your application

What if you could deploy to production with a single click, without fear? Learn to build a fully automated testing pipeline that makes it possible.

One-click-to-production: Test and automate your application
#1about 5 minutes

Automating deployments to avoid production failures

A live demo showcases a CI/CD pipeline that automatically fixes a bug and deploys the change to a production environment.

#2about 3 minutes

Writing foundational unit tests with mocks and stubs

Unit tests verify isolated behavior by using test doubles like stubs for inputs and mocks for outputs via dependency injection.

#3about 5 minutes

Implementing integration and end-to-end tests

Integration tests verify component connections using tools like Mock Service Worker for network interception or JSON Server for a fake API.

#4about 7 minutes

Enforcing architectural patterns with automated tests

Architecture tests prevent code smells like a "big ball of mud" by programmatically enforcing design rules and dependency constraints.

#5about 3 minutes

Ensuring API compatibility with contract tests

Consumer-driven contract testing uses frameworks like Pact to verify interactions between services without requiring full end-to-end integration.

#6about 4 minutes

Using static analysis and quality gates for code quality

Automated static analysis tools check for code coverage, linting errors, and security risks to enforce quality gates before merging.

#7about 3 minutes

Building a CI/CD pipeline with GitHub Actions

GitHub Actions uses declarative YAML files to automate the entire workflow of building, testing, and deploying an application to platforms like Heroku.

#8about 2 minutes

Balancing speed and reliability in your test strategy

The choice of when to run different tests, such as on each pull request or nightly, involves a trade-off between feedback speed and test thoroughness.

Related jobs
Jobs that call for the skills explored in this talk.

Featured Partners

Related Articles

View all articles
DC
Daniel Cranney
Dev Digest 198: 30 years of JS, In-Browser AI, How Attackers Abuse GenAI
Inside last week’s Dev Digest 198 . 🎂 30 years of JavaScript ⏰ How long is a JavaScript second 💻 Clean code in Angular 🤦‍♂️ AI makes different mistakes than humans 👨‍💻 In-browser and offline AI 🟠 Undocumented Hacker News features 🐋 DeepSeek censored...
Dev Digest 198: 30 years of JS, In-Browser AI, How Attackers Abuse GenAI
DC
Daniel Cranney
Dev Digest 196: AI Killed DevOps, LLM Political Bias & AI Security
Inside last week’s Dev Digest 196 . ⚖️ Political bias in LLMs 🫣 AI written code causes 1 in 5 security breaches 🖼️ Is there a limit to alternative text on images? 📝 CodeWiki - understand code better 🟨 Long tasks in JavaScript 👻 Scare yourself into n...
Dev Digest 196: AI Killed DevOps, LLM Political Bias & AI Security
CH
Chris Heilmann
Dev Digest 151: SEO in an AI world, security fixes and Doomed PDFs
Inside last week’s Dev Digest 151 . 🔎 How ChatGPT compares to search and what that means for SEO ✂️ Job cuts across the board as companies curb DEI programs 🟨 @Microsoft releases 161 Windows security updates ⚠️ @Google’s OAuth bug endangers million...
Dev Digest 151: SEO in an AI world, security fixes and Doomed PDFs

From learning to earning

Jobs that call for the skills explored in this talk.

QA Automation Engineer

Eltemate
Amsterdam, Netherlands

Intermediate
Senior
TypeScript
Automated Testing
Continuous Integration
Manual QA Engineer

Eltemate
Amsterdam, Netherlands

Intermediate
Senior
Test Planning
Manual Testing
Usability Testing