<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/phpunit-13-is-out-and-i-m-genuinely-excited-about-how-much-more-modern-it-makes-my-everyday-testing-v0ko3wogj" -->

---
title: PHPUnit 13 is out, and I’m genuinely excited about how...
description: Sebastian Bergmann presents a live session covering PHPUnit 13, walking through the features and changes in this major release. The session is part of the...
canonical: https://daily.dev/posts/phpunit-13-is-out-and-i-m-genuinely-excited-about-how-much-more-modern-it-makes-my-everyday-testing-v0ko3wogj
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: PHPUnit 13 is out, and I’m genuinely excited about how much more modern it makes my everyday testing workflow. In my latest live session from the “Test Smarter, Not Harder” series, I walked through what PHPUnit looks like after 26 years of evolution and why those annual major releases are absolutely worth paying attention to.  I show how the deprecation and removal process actually works in practice, and how you can upgrade from older versions without blowing up your test suite. Along the way, I dig into the new array assertions that finally sit in the sweet spot between assertSame() and assertEquals(), the long‑awaited successors to withConsecutive(), and the new sealed test doubles that make it much harder to misuse mocks and stubs.  Because reporting is where many teams still suffer, I also demonstrate how PHPUnit’s support for Open Test Reporting and OpenClover XML helps clean up years of pain around JUnit XML and Clover XML in CI pipelines. On top of that, I share test‑suite specific bootstraps, some powerful TestDox customisations, and a bunch of hard‑won lessons from real‑world mocking, stubbing, and the Q&A with the live audience.​  If you care about readable tests, future‑proof tooling, and CI feedback that actually tells you something useful, this recording is for you. | daily.dev
og:description: Sebastian Bergmann presents a live session covering PHPUnit 13, walking through the features and changes in this major release. The session is part of the...
og:url: https://daily.dev/posts/phpunit-13-is-out-and-i-m-genuinely-excited-about-how-much-more-modern-it-makes-my-everyday-testing-v0ko3wogj
og:image: https://api.daily.dev/og/posts/v0Ko3woGJ.png
og:image:alt: PHPUnit 13 is out, and I’m genuinely excited about how much more modern it makes my everyday testing workflow. In my latest live session from the “Test Smarter, Not Harder” series, I walked through what PHPUnit looks like after 26 years of evolution and why those annual major releases are absolutely worth paying attention to.  I show how the deprecation and removal process actually works in practice, and how you can upgrade from older versions without blowing up your test suite. Along the way, I dig into the new array assertions that finally sit in the sweet spot between assertSame() and assertEquals(), the long‑awaited successors to withConsecutive(), and the new sealed test doubles that make it much harder to misuse mocks and stubs.  Because reporting is where many teams still suffer, I also demonstrate how PHPUnit’s support for Open Test Reporting and OpenClover XML helps clean up years of pain around JUnit XML and Clover XML in CI pipelines. On top of that, I share test‑suite specific bootstraps, some powerful TestDox customisations, and a bunch of hard‑won lessons from real‑world mocking, stubbing, and the Q&A with the live audience.​  If you care about readable tests, future‑proof tooling, and CI feedback that actually tells you something useful, this recording is for you.
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# PHPUnit 13 is out, and I’m genuinely excited about how much more modern it makes my everyday testing workflow. In my latest live session from the “Test Smarter, Not Harder” series, I walked through what PHPUnit looks like after 26 years of evolution and why those annual major releases are absolutely worth paying attention to.

I show how the deprecation and removal process actually works in practice, and how you can upgrade from older versions without blowing up your test suite. Along the way, I dig into the new array assertions that finally sit in the sweet spot between assertSame() and assertEquals(), the long‑awaited successors to withConsecutive(), and the new sealed test doubles that make it much harder to misuse mocks and stubs.

Because reporting is where many teams still suffer, I also demonstrate how PHPUnit’s support for Open Test Reporting and OpenClover XML helps clean up years of pain around JUnit XML and Clover XML in CI pipelines. On top of that, I share test‑suite specific bootstraps, some powerful TestDox customisations, and a bunch of hard‑won lessons from real‑world mocking, stubbing, and the Q&A with the live audience.​

If you care about readable tests, future‑proof tooling, and CI feedback that actually tells you something useful, this recording is for you.

**[PHP Dev](https://daily.dev/sources/phpdev)** · [@sebastianbergmann](https://daily.dev/sebastianbergmann) · 4 upvotes · 0 comments

## Summary

Sebastian Bergmann presents a live session covering PHPUnit 13, walking through the features and changes in this major release. The session is part of the 'Test Smarter, Not Harder' series and demonstrates what modern PHPUnit testing looks like.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://phpc.tv/w/cLNz7C9DTYTk6xKgtH85ec>

## Similar posts on daily.dev

- [Precision and Clarity: What is New in PHPUnit 13.2?](https://daily.dev/posts/precision-and-clarity-what-is-new-in-phpunit-13-2--aparnuw4v) · PHPUnit Expert · 0 upvotes · 0 comments
- [UnitTest Attribute and More in Laravel 13.3.0](https://daily.dev/posts/unittest-attribute-and-more-in-laravel-13-3-0-t6ccxev8j) · Laravel News · 15 upvotes · 0 comments
- [Sealed mocks and mutation testing in CI ‣ harasim.dev](https://daily.dev/posts/sealed-mocks-and-mutation-testing-in-ci-harasim-dev-gtaizthyg) · Harasim.dev · 0 upvotes · 0 comments
- [Join the PHPUnit test cleanup for 7.2](https://daily.dev/posts/join-the-phpunit-test-cleanup-for-7-2-pnxhpj9it) · Make WordPress Core · 0 upvotes · 0 comments
- [Repetition and Insight: What is new in PHPUnit 13.3?](https://daily.dev/posts/repetition-and-insight-what-is-new-in-phpunit-13-3--goqqxp1lk) · PHPUnit Expert · 3 upvotes · 2 comments

---

Tags: [#testing](https://daily.dev/tags/testing), [#php](https://daily.dev/tags/php), [#phpunit](https://daily.dev/tags/phpunit)

[View this post on daily.dev](https://daily.dev/posts/phpunit-13-is-out-and-i-m-genuinely-excited-about-how-much-more-modern-it-makes-my-everyday-testing-v0ko3wogj)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"DiscussionForumPosting","mainEntityOfPage":"https://daily.dev/posts/phpunit-13-is-out-and-i-m-genuinely-excited-about-how-much-more-modern-it-makes-my-everyday-testing-v0ko3wogj","headline":"PHPUnit 13 is out, and I’m genuinely excited about how much more modern it makes my everyday testing workflow. In my latest live session from the “Test Smarter, Not Harder” series, I walked through what PHPUnit looks like after 26 years of evolution and why those annual major releases are absolutely worth paying attention to.\n\nI show how the deprecation and removal process actually works in practice, and how you can upgrade from older versions without blowing up your test suite. Along the way, I dig into the new array assertions that finally sit in the sweet spot between assertSame() and assertEquals(), the long‑awaited successors to withConsecutive(), and the new sealed test doubles that make it much harder to misuse mocks and stubs.\n\nBecause reporting is where many teams still suffer, I also demonstrate how PHPUnit’s support for Open Test Reporting and OpenClover XML helps clean up years of pain around JUnit XML and Clover XML in CI pipelines. On top of that, I share test‑suite specific bootstraps, some powerful TestDox customisations, and a bunch of hard‑won lessons from real‑world mocking, stubbing, and the Q\u0026A with the live audience.​\n\nIf you care about readable tests, future‑proof tooling, and CI feedback that actually tells you something useful, this recording is for you.","text":"Shared: Test smarter, not harder: PHPUnit 13","url":"https://daily.dev/posts/phpunit-13-is-out-and-i-m-genuinely-excited-about-how-much-more-modern-it-makes-my-everyday-testing-v0ko3wogj","datePublished":"2026-02-14T15:12:55.003Z","dateModified":"2026-02-14T15:13:24.478Z","author":{"@type":"Person","name":"Sebastian Bergmann","url":"https://daily.dev/sebastianbergmann","image":"https://media.daily.dev/image/upload/s--C1spaGmt--/f_auto/v1769079877/avatars/avatar_Yy0cnkFhv4SEvnBDkKVDx?_a=BAMAMiiu0","description":"Created PHPUnit. Co-Founded thePHPcc. Helps developers build better software.","interactionStatistic":{"@type":"InteractionCounter","interactionType":{"@type":"EndorseAction"},"userInteractionCount":870}},"image":"https://media.daily.dev/image/upload/s--0_ODbtD2--/f_auto/v1722860399/public/Placeholder%2008","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":4},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"sharedContent":{"@type":"WebPage","url":"https://api.daily.dev/r/6ELQEAG7C"},"isPartOf":{"@type":"WebPage","url":"https://daily.dev/squads/phpdev","name":"PHP Dev"}}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"PHP Dev","item":"https://daily.dev/squads/phpdev"},{"@type":"ListItem","position":3,"name":"PHPUnit 13 is out, and I’m genuinely excited about how much more modern it makes my everyday testing workflow. In my latest live session from the “Test Smarter, Not Harder” series, I walked through what PHPUnit looks like after 26 years of evolution and why those annual major releases are absolutely worth paying attention to.\n\nI show how the deprecation and removal process actually works in practice, and how you can upgrade from older versions without blowing up your test suite. Along the way, I dig into the new array assertions that finally sit in the sweet spot between assertSame() and assertEquals(), the long‑awaited successors to withConsecutive(), and the new sealed test doubles that make it much harder to misuse mocks and stubs.\n\nBecause reporting is where many teams still suffer, I also demonstrate how PHPUnit’s support for Open Test Reporting and OpenClover XML helps clean up years of pain around JUnit XML and Clover XML in CI pipelines. On top of that, I share test‑suite specific bootstraps, some powerful TestDox customisations, and a bunch of hard‑won lessons from real‑world mocking, stubbing, and the Q\u0026A with the live audience.​\n\nIf you care about readable tests, future‑proof tooling, and CI feedback that actually tells you something useful, this recording is for you."}]}
```

