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/beta-testo.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -12,10 +12,10 @@ faqLevel: false
12
12
13
13
Testo is a testing framework for PHP, built from scratch. Not a wrapper, not a fork, not an add-on — a fully independent architecture based on plugins, middlewares, and events.
14
14
15
-
The result is a flexible tool with a pleasant API and capabilities that go beyond conventional testing — from inline tests right in `src` to benchmarks with a single attribute.
15
+
What emerged is a flexible tool with a pleasant API and capabilities that go beyond conventional testing — from inline tests right in `src` to benchmarks with a single attribute.
16
16
17
17
::: question Why another testing framework?
18
-
Existing solutions are built on architecture that has evolved over years and carries a lot of legacy. Getting something fundamentally new into them is extremely difficult. Testo started from a clean slate — giving us the freedom to make the right decisions without worrying about backwards compatibility.
18
+
Existing solutions are built on architecture that has evolved over years and carries a lot of legacy baggage. Getting something fundamentally new into them is extremely difficult. Testo started from a clean slate — giving us the freedom to make the right decisions without worrying about backwards compatibility.
19
19
:::
20
20
21
21
::: question What is Testo's philosophy?
@@ -37,7 +37,7 @@ You can shape Testo into exactly what you need. Everything you don't need can be
37
37
:::
38
38
39
39
::: question Can I use Testo alongside other testing frameworks?
40
-
Yes. Testo is fully independent and doesn't conflict with other tools — it doesn't even patch `nikic/php-parser` or [use it](https://github.com/sebastianbergmann/phpunit/issues/6381). You can install Testo alongside Codeception, PHPUnit, or Pest and start writing new tests with Testo without touching the existing ones.
40
+
Yes. Testo is fully independent and doesn't conflict with other tools — it doesn't even patch `nikic/php-parser` or [use it](https://github.com/sebastianbergmann/phpunit/issues/6381). You can install Testo alongside Codeception, PHPUnit, or Pest and start writing new tests without touching the existing ones.
41
41
:::
42
42
43
43
::: question Does Testo work with AI agents?
@@ -57,7 +57,7 @@ Testo uses familiar PHP and OOP syntax: no DSL, no magic methods, no unusual con
57
57
58
58
A word about assertions. The xUnit family (PHPUnit, JUnit, NUnit) historically uses `$expected, $actual` argument order — an endless source of confusion.
59
59
-`webmozart/assert` solved this simply: put `$actual` first.
60
-
- Pest chose a fluent API like Jest: `expect($actual)->not()->toBe($expected)`, but at the cost of a magic DSL, atypical for PHP.
60
+
- Pest chose a fluent API like Jest: `expect($actual)->not()->toBe($expected)`, but at the cost of a magic DSL, foreign to PHP.
61
61
- Testo took the best of both approaches: intuitive argument order and typed chains that also streamlined the main facade. For example: `Assert::string($email)->contains('@')`. No magic, full IDE and static analysis support.
Copy file name to clipboardExpand all lines: ru/blog/beta-testo.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -37,7 +37,7 @@ Testo пропитан уважением.
37
37
:::
38
38
39
39
::: question Можно ли использовать Testo вместе с другими тестовыми фреймворками?
40
-
Да. Testo полностью независим и не конфликтует с другими инструментами — он даже не патчит `nikic/php-parser` и не [использует](https://github.com/sebastianbergmann/phpunit/issues/6381) его. Можно поставить Testo в проект рядом с Codeception, PHPUnit или Pest и начать писать новые тесты на Testo, не трогая существующие.
40
+
Да. Testo полностью независим и не конфликтует с другими инструментами — он даже не патчит `nikic/php-parser` и не [использует](https://github.com/sebastianbergmann/phpunit/issues/6381) его. Можно поставить Testo в проект рядом с Codeception, PHPUnit или Pest и начать писать на нём новые тесты, не трогая существующие.
41
41
:::
42
42
43
43
::: question Подходит ли Testo для разработки с AI-агентами?
0 commit comments