2026-08-24 18:26 UTC
As I add more expectations and modifiers like "not" or "and", I'm starting to hit the limits of this API and thinking I should split up tests into multiple function calls instead of a single function call followed by many parameters.
So instead of this tests where it's all on one line:
```bash
it "should compare two numbers" expect 1 to_be 1
```
It would become this, where each function call is separated by a semicolon or line:
```bash
it "should compare two numbers"; expect 1; to_be 1
```
Replies (1)
-
@paulshryock@phpc.social 2026-08-24 18:28
This will also make it easier to break up the test runner into three phases, which I think is pretty typical for any test runner: 1. Gather the test cases 2. Execute the tests 3. Format and display all of the output