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.

test

Milly
Vienna, Austria

Intermediate

test

Milly
Vienna, Austria

Intermediate

Featured Partners

Related Articles

View all articles
CH
Chris Heilmann
All the videos of Halfstack London 2024!
Last month was Halfstack London, a conference about the web, JavaScript and half a dozen other things. We were there to deliver a talk, but also to record all the sessions and we're happy to share them with you. It took a bit as we had to wait for th...
All the videos of Halfstack London 2024!
LM
Luis Minvielle
The Best Upcoming IT Webinars
Now that you already know what IT webinars are and how they can help you level up your professional appeal, you might want actually to get into one. Live tech webinars are one of the best ways to stay on top of the latest trends and tools because eit...
The Best Upcoming IT Webinars

From learning to earning

Jobs that call for the skills explored in this talk.