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 213: Petrol Prices, Agentic Workflows, AI Skills and CODE100!
Inside last week’s Dev Digest 213 . 🤫 Don’t tell your LLM that it is an expert 👻 AI generated code is invisible 🔄 Learn about agentic workflows 🛡️ Linux Foundation sponsors fight against AI slop 🦠 1M users infected by Chrome extension 🫃 The why of J...
 Dev Digest 213: Petrol Prices, Agentic Workflows, AI Skills and CODE100!
DC
Daniel Cranney
Dev Digest 214: Claude Is Leaking, GitHub Is Listening & Axios Hacked!
Inside last week’s Dev Digest 214 . 🕵️ Claude source code leaked, analysed and re-written in 2 days 🐙 GitHub auto-opts users into feeding their code to train their AI 🌐 Pretext shows how to show complex text rendering in the browser 🤖 How to securin...
Dev Digest 214: Claude Is Leaking, GitHub Is Listening & Axios Hacked!
CS
Christina Schaireiter
Why Attend a Developer Event?
Modern software engineering moves too fast for documentation alone. Attending a world-class event is about shifting from tactical execution to strategic leadership. Skill Diversification: Break out of your specific tech stack to see how the industry...
Why Attend a Developer Event?

From learning to earning

Jobs that call for the skills explored in this talk.