# Unifying Testing and Monitoring with Checkly

> Combine CI testing and monitoring in one flow. Discover how reusing your checks can reduce bugs and alert fatigue.

Source: https://www.checklyhq.com/blog/testing-and-monitoring-should-you-separate-or-unite/

---

[Blog](https://www.checklyhq.com/blog/)

# The Advent of Monitoring, Day 11: Testing and Monitoring: Should You Separate or Unite Them?

[Chris Lample](https://www.checklyhq.com/blog/author/senior-software-engineer/)

December 18, 2023 · Updated July 28, 2025

The two key pillars of building reliable applications are: **testing** and **monitoring**.

With testing, you can verify that each pull request works before it’s merged and deployed to production. Just testing isn’t enough, though. You also need to make sure that the application continues to work on production.

Database rollovers, third-party outages, and unexpected spikes in traffic can all cause issues that need to be detected. As explained on the [1st day of Xmas](https://www.notion.so/12-Days-of-Christmas-Checkly-2023-07e63db5f17046d68b9009507e1673b2?pvs=21), [synthetic monitoring](https://www.checklyhq.com/blog/what-is-synthetic-monitoring/) is a great tool to make sure your application stays up and running.

_Why keep testing and monitoring separate, though?_

With the [Checkly CLI](https://www.checklyhq.com/product/cli/), you can **reuse your synthetic monitoring checks as an extra layer of tests**. By adding an npx checkly test to your CI pipeline, you can run your checks against your staging environment as tests. Leveraging your existing checks like this gives you an extra layer of protection on top of your unit and integration tests.

Not only does this approach help you catch issues in your application before they reach production, it also allows you to catch issues in your checks. When you make changes to your application, for example adding an extra form to your sign-up flow, your checks may need to be updated as well.

Running checks in your CI catches this before the PR is merged, letting you avoid any alerts surprising your on-call engineers! With the Checkly CLI, you can even update your checks and your application in the same PR.

To start uniting your testing and monitoring setup, check out [our docs!](https://www.checklyhq.com/docs/cicd/)

[Chris Lample Senior Software Engineer](https://www.checklyhq.com/blog/author/senior-software-engineer/)

Share on social

## Related Articles

[The Advent of Monitoring, Day 10: Better Observability Into Your Local Clickhouse Instance With Grafana and Prometheus December 17, 2023](https://www.checklyhq.com/blog/better-observability-into-your-local-clickhouse-instance/)[The Advent of Monitoring, Day 9: Advantages of Multi-Step API Checks vs Original API Checks December 16, 2023](https://www.checklyhq.com/blog/advantages-of-multi-step-api-checks-vs-original-api/)[The Advent of Monitoring, Day 8: How to Monitor All the Nines of Your Service-Level Agreements December 15, 2023](https://www.checklyhq.com/blog/how-to-monitor-all-the-nines-of-your-service-level-agreements/)[The Advent of Monitoring, Day 7: A Peek Into Our Job Monitoring Strategy With Heartbeat Checks December 14, 2023](https://www.checklyhq.com/blog/a-peek-into-our-job-monitoring-strategy-with-heartbeat/)[The Advent of Monitoring, Day 6: How We Use Checkly to Monitor Checkly: A Backender’s Perspective December 18, 2023](https://www.checklyhq.com/blog/how-we-use-checkly-to-monitor-checkly/)
