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

From learning to earning

Jobs that call for the skills explored in this talk.