You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: blog/assert-and-expect.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,12 +2,12 @@
2
2
title: "Assert and Expect"
3
3
date: 2026-01-01
4
4
description: "Exploring assertion API design in Testo: why we split Assert and Expect facades, and how pipe assertions make tests cleaner."
5
+
image: /blog/assert-and-expect/img-1.jpg
6
+
author: Aleksei Gagarin
5
7
---
6
8
7
9
# Testo. Assert and Expect
8
10
9
-

10
-
11
11
Let's talk about the pitfalls of reinventing the wheel that I've already stumbled upon while building a new testing framework [Testo](https://github.com/php-testo/testo).
12
12
13
13
PHPUnit provides multiple ways to write the same assertions in tests:
Copy file name to clipboardExpand all lines: ru/blog/assert-and-expect.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,12 +2,12 @@
2
2
title: "Assert и Expect"
3
3
date: 2026-01-01
4
4
description: "Исследуем дизайн API утверждений в Testo: почему мы разделили фасады Assert и Expect, и как пайп-ассерты делают тесты чище."
5
+
image: /blog/assert-and-expect/img-1.jpg
6
+
author: Алексей Гагарин
5
7
---
6
8
7
9
# Testo. Assert и Expect
8
10
9
-

10
-
11
11
Поговорим про грабли велосипедостроения, с которыми я уже познакомился при написании нового фреймворка тестирования [Testo](https://github.com/php-testo/testo).
12
12
13
13
PHPUnit предоставляет множество вариантов одних и тех же проверок (утверждений) в тестах:
0 commit comments