nuno maduro
ff4aba2ffa
chore: updates snapshots
2026-07-17 14:32:33 +01:00
Conor Murphy
ac8feafdcc
fix: guard Tia argv scanning against non-string args ( #1736 )
...
The Tia plugin scans the raw argv with str_starts_with() in
argumentPresent() and hasExplicitPathArgument(). In the parallel worker
path (bin/worker.php) the unserialized argv can contain an integer
--random-order-seed value as a separate element, which made
str_starts_with() throw:
TypeError: str_starts_with(): Argument #1 ($haystack) must be of
type string, int given
This is the same class of bug as #1206 , which was only fixed in
HandleArguments; it resurfaced in the newer Tia plugin. Cast each argv
element to string before scanning, mirroring the #1206 fix.
Adds a regression test, and updates the parallel count assertion and the
success snapshot to account for it.
Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com >
2026-06-25 20:03:06 +01:00
nuno maduro
bd22f478b8
chore: fixes issues with contracts and symfony 8.1
2026-06-01 06:24:42 +01:00
nuno maduro
a3796daa42
wip
2026-05-03 13:24:10 +01:00
nuno maduro
87db0b4847
release: v4.6.1
2026-04-15 09:03:09 -07:00
nuno maduro
3855249ce9
feat: adds --flaky cli option
2026-04-10 20:03:50 +01:00
nuno maduro
f528bd8427
feat: adds flaky
2026-04-10 19:52:31 +01:00
nuno maduro
729f18a152
fix: stacktrace with nested with calls
2026-04-10 17:25:05 +01:00
nuno maduro
4b5374d507
Merge branch '4.x' into fix/unicode-filename-filter
2026-04-10 12:29:30 +01:00
nuno maduro
e766825f5b
chore: fixes test:unit
2026-04-10 12:15:00 +01:00
Aleksandr Štšepelin
4b50cb486d
Restore success snapshot coverage with lower memory limit
2026-03-25 23:59:29 +02:00
Aleksandr Štšepelin
f7175ecfd7
Fix parallel dataset reporting and nested fixtures
2026-03-25 23:59:29 +02:00
Aleksandr Štšepelin
07737bc0b2
Fix parallel file selection and empty-suite reporting
2026-03-25 23:59:28 +02:00
nuno maduro
2a80101f42
chore: update styling
2026-03-10 21:06:28 +00:00
vmadmax
a956de5446
fix: preserve Unicode characters in class names for --filter matching
2026-02-02 09:01:24 +01:00
Ilia Smirnov
c7e4efcea4
fix: replace substr with mb_substr in Str::beforeLast to ensure multibyte string compatibility and correct TeamCity test names for datasets in "describe" blocks
2026-01-14 00:55:35 +01:00
Nuno Maduro
bc57a84e77
release: 4.3.1
2026-01-04 11:29:59 -05:00
Nuno Maduro
6a96aed654
feat: adds phpunit@12.5 support
2025-12-15 11:48:43 +00:00
Nuno Maduro
711a60c2db
release: beta 1
2025-08-05 17:44:12 +01:00
Nuno Maduro
4c88590b89
feat: not.toHaveSuspiciousCharacters
2025-07-26 07:47:00 -06:00
Nuno Maduro
d187566e63
chore: updates snapshots
2025-07-25 21:29:26 -06:00
jshayes
50ff347b59
Pass description into describe call
2025-01-20 17:40:18 -05:00
Nuno Maduro
709ecb1ba2
chore: adjusts tests
2025-01-19 17:35:09 +00:00
Nuno Maduro
6afb36519d
release: 3.7.2
2025-01-19 17:16:25 +00:00
Nuno Maduro
5d32dd0641
feat: option to coverage
2024-12-01 22:45:31 +00:00
jshayes
6968094e2b
Add tests
2024-10-13 10:39:17 -04:00
jshayes
cd2eb3504b
Add helper to get last element of array
2024-10-13 09:47:54 -04:00
jshayes
7c639cdbbd
Add more tests
2024-10-13 00:41:04 -04:00
jshayes
a6cd83665c
Execute all parent beforeEach and afterEach functions for each test
2024-10-11 23:51:18 -04:00
jshayes
0c57142c03
Fix an issue where a describe block will prevent a beforeEach call from executing
2024-10-11 21:24:08 -04:00
Nuno Maduro
1e0bb88b73
release: v3.2.5
2024-10-01 11:55:18 +01:00
Nuno Maduro
a55da85dd2
release: v3.2.0
2024-09-23 13:14:03 +01:00
Ilia Smirnov
7227d24611
fix: unify the locationHint prefix and prettify both locationHint and name parameters for testing with datasets
2024-09-11 16:42:06 +02:00
Nuno Maduro
32881774d2
fix: global afterEach being called twice
2024-09-11 00:40:41 +01:00
Nuno Maduro
09edaa9c2d
chore: updates snapshots
2024-09-09 10:49:48 +01:00
Nuno Maduro
6afd2ec9df
release: v3.0.0
2024-09-09 01:16:11 +01:00
Nuno Maduro
ae288d1123
fix tests
2024-09-05 18:17:30 +01:00
Nuno Maduro
2d80ff19ec
feat(mutate): only
2024-09-05 02:49:52 +01:00
Nuno Maduro
dd20323ca7
feat: custom presets
2024-09-04 20:53:33 +01:00
Nuno Maduro
e2d360b1b5
chore: adjusts tests
2024-09-03 14:09:03 +01:00
Nuno Maduro
dde943b993
refacto: toHaveMethod and toHaveMethods
2024-09-02 19:38:38 +01:00
Nuno Maduro
bb8677549a
chore: fixes snapshots
2024-09-02 18:30:12 +01:00
Nuno Maduro
5ae5ac9a54
fix: removes both toHaveMethod and toHaveMethods
2024-08-28 16:30:29 -05:00
Nuno Maduro
ecdbe7a472
release: 3.0.0-rc.1
2024-08-22 21:36:19 +01:00
Nuno Maduro
2c6c3119d2
Merge branch '2.x' into 3.x
2024-08-22 21:21:52 +01:00
Nuno Maduro
9ceb0834ae
chore: updates snapshots
2024-08-22 21:07:39 +01:00
Nuno Maduro
ad6dca94fa
Adds done
2024-08-10 14:27:18 +01:00
Nuno Maduro
b6bf01148f
feat: toHavePrivateMethodsBesides, toHaveProtectedMethodsBesides, toHavePublicMethodsBesides
2024-08-09 00:24:24 +01:00
Nuno Maduro
38638e865f
chore: fixes tests
2024-08-07 11:27:30 +01:00
Nuno Maduro
651aab560c
Allows to set context on todos
2024-08-03 18:42:31 +01:00