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
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
DC
Daniel Cranney
Dev Digest 190: GitHub A11Y action, >12s Sora 2 videos and 42 CSS units!
Inside last week’s Dev Digest 190 . 🙅 Developers don’t trust AI, and that’s a good thing 🤖 Why everyone is talking about AI agents 🔓 Autonomous AI hacking and the future of cyber security 😨 Windows 10 support ends, millions of PC’s fall off a securi...
Dev Digest 190: GitHub A11Y action, >12s Sora 2 videos and 42 CSS units!
AG
Andre Braun, GitLab
Now is the time for industrialized software development
Now is the time for industrialized software development Recently, I received a letter from my car’s manufacturer alerting me to a recall. They had discovered a defective part and wanted to replace it. It was easily fixed, and I might have forgotten a...
Now is the time for industrialized software development

From learning to earning

Jobs that call for the skills explored in this talk.

Automated Tester

Automated Tester

The Trust
Rishangles, United Kingdom

Remote
GIT
Java
JIRA
REST
+4