Commit Graph

32 Commits

Author SHA1 Message Date
Sonali dudhia b49cd150c9 feat: add toBeEmail expectation (#1735)
Adds `toBeEmail()` backed by `filter_var(FILTER_VALIDATE_EMAIL)`.
Mirrors the existing `toBeUrl()` pattern — no new dependencies, pure PHP.

Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-24 15:51:35 +01:00
Sonali dudhia 774a340400 feat: add toBeUlid assertion and isUlid validation method (#1726) 2026-06-11 10:14:00 +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 d6c6489e93 Merge branch '4.x' into fix/sibling-describe-blocks 2025-07-26 04:26:10 +01:00
Nuno Maduro fe27012bbc style 2025-07-22 23:58:36 +01:00
Nuno Maduro f9901245f1 updates dependencies and snapshots 2025-07-22 23:51:32 +01:00
nuno maduro e513f76ea9 Merge pull request #1256 from mazesec/add-slugify-method
Add slugify Method to Str Class and toBeSlug Assertion to Expectation Class
2025-07-22 23:08:15 +01:00
Nuno Maduro a310796165 Fixes filtering tests 2025-04-29 11:38:33 +01:00
jshayes b5b8fab09b Fix an issue where beforeEach/afterEach functions were called on other describe blocks with the same name 2025-01-20 17:36:22 -05:00
jshayes 9510d4a2f9 Change array type hint 2024-10-13 09:54:19 -04:00
jshayes a6cd83665c Execute all parent beforeEach and afterEach functions for each test 2024-10-11 23:51:18 -04:00
tal7aouy e3bfcbe5f1 Add slugify method 2024-09-16 13:36:34 +01:00
Nuno Maduro e135e2671f style 2024-01-20 11:44:11 +00:00
JonPurvis 5101b9dce3 add to be url expectation 2023-10-09 20:02:11 +01:00
Nuno Maduro 9c859ae7c4 Merge branch '2.x' into to_be_uuid 2023-09-06 11:53:58 +01:00
Nuno Maduro ae0a230046 chore: improves readability 2023-09-06 11:48:53 +01:00
AJ Meireles 3927177b23 finishing the code 2023-09-05 20:36:18 -03:00
Thai Nguyen Hung 038fd80428 feat: toBeUUID expectation 2023-09-05 08:25:02 +07:00
Fabio Ivona 22467d05c8 fix underscores in test names 2023-03-22 11:24:21 +01:00
Fabio Ivona ed3bb2634d using php documentation regex 2023-03-21 15:15:38 +01:00
Nuno Maduro 48ae4bfc18 fix: description when using ふが chars 2023-03-21 13:45:20 +00:00
Nuno Maduro 0d9c11c99a feat: prefixes evaluables 2023-02-14 08:56:56 +00:00
Nuno Maduro 349e2f45df chore: style changes 2023-01-11 20:11:36 +00:00
Oliver 0839c7e127 Add Initial teamcity support 2023-01-11 09:37:12 +01:00
Nuno Maduro c5f6923e5a fix: methods name with \ 2022-12-04 23:49:58 +00:00
Nuno Maduro e9564febaf Migrates to Pint 2022-09-16 10:45:53 +01:00
danilopolani 80c411be44 add config loader to read phpunit file and get the tests directory or fallback 2022-03-30 15:39:50 +02:00
Nuno Maduro 4b213d63bd feat: reworks evalution of Test Case 2021-11-14 19:58:25 +00:00
Nuno Maduro 2b687a7269 refactor: PHP 8 features 2021-10-24 18:29:59 +01:00
jordanbrauer 5e0bfba7bf run linter 2021-02-13 11:21:14 -06:00
jordanbrauer 13f09cc662 add helper method to generate a simple random string 2021-02-13 11:19:40 -06:00
Nuno Maduro de2929077b first 2020-05-11 18:38:30 +02:00