Commit Graph

1906 Commits

Author SHA1 Message Date
Mark Huot da20a62e49 Add toSnapshot() early return
Sometimes objects need native toString() and toArray() methods that are different from what you want to snapshot.

This adds an explicit toSnapshot() method that will be called first (when set) allowing for better snapshot values than the generic methods offer.
2023-11-21 22:56:21 -05:00
Nuno Maduro c8d3e1a9fa Merge pull request #1012 from nahime0/2.x
[2.x] Added onlyOn* methods to run the test only on a specific OS
2023-11-21 01:01:24 +11:00
Vincenzo Petrucci f7705fe1c1 feat: onlyOn* methods, removed private onlyOn, rely instead on skipOn* methods 2023-11-20 14:51:38 +01:00
Vincenzo Petrucci cf23dfa477 feat: onlyOn* methods now use the private onlyOn method 2023-11-17 16:16:48 +01:00
Vincenzo Petrucci ab4787c667 feat: added onlyOn* methods to run the test only on a specific OS 2023-11-17 15:03:28 +01:00
Nuno Maduro bd6b166a62 Merge pull request #1002 from faissaloux/remove-double-plus
Remove double plus
2023-11-08 10:01:57 +00:00
faissaloux 17340947b3 remove double plus 2023-11-08 10:52:33 +01:00
Nuno Maduro f235d84d95 release: v2.24.3 v2.24.3 2023-11-08 09:47:14 +00:00
Nuno Maduro 3c0d780696 Merge pull request #1001 from faissaloux/fix-html-in-descriptions-or-datasets
Fix html in descriptions or datasets
2023-11-08 09:40:48 +00:00
faissaloux 16768fca9f update snapshots/paralell test 2023-11-07 17:46:00 +01:00
faissaloux 95ec0a82b2 fix html in tests descriptions and datasets 2023-11-07 17:35:42 +01:00
Nuno Maduro 0a680dd06e release: v2.24.2 v2.24.2 2023-11-01 19:10:11 -04:00
Nuno Maduro 152892cc38 chore: bumps paratest 2023-11-01 19:06:05 -04:00
Nuno Maduro 9aad417fb2 Merge pull request #996 from CalebDW/phpstan
Create PHPStan extension and add `HigherOrderTapProxy` to `universalObjectCratesClasses`
2023-10-30 20:49:55 -04:00
Caleb White b58e0cba66 Add Expectation to universalObjectCratesClasses 2023-10-30 14:48:23 -05:00
Caleb White 74864c60e1 Create phpstan extension 2023-10-30 11:55:26 -05:00
Nuno Maduro fd4f161edd release: v2.24.1 v2.24.1 2023-10-26 11:02:35 -04:00
Nuno Maduro e0939e3e99 chore: adds phpunit 10.4.2 support 2023-10-26 11:02:26 -04:00
Nuno Maduro 2cdd5e3ba0 fix: infer generic type from expectation 2023-10-21 11:06:26 +01:00
Nuno Maduro 811ef27ee4 release: v2.24.0 v2.24.0 2023-10-17 10:07:18 +01:00
Nuno Maduro 22a7fd0656 chore: adjusts snapshots 2023-10-17 10:07:08 +01:00
Nuno Maduro 698c276cbe chore: fixes style 2023-10-17 10:06:58 +01:00
Nuno Maduro 6340656ece chore: bumps dependencies 2023-10-17 10:06:48 +01:00
Nuno Maduro 2d5840f947 Merge pull request #933 from hungthai1401/throws_unless
[2.x] Add `throwsUnless`
2023-10-17 10:03:16 +01:00
Nuno Maduro b8bb3684a3 Merge pull request #983 from Muhammad-Sarfaraz/patch-1
Polishing Up "TestDox.php' PHPDoc Blocks for Clarity
2023-10-17 10:02:08 +01:00
Sarfaraz Muhammad Sajib b8cd563569 Update src/Factories/Annotations/TestDox.php
Co-authored-by: Owen Voke <development@voke.dev>
2023-10-16 16:23:09 +06:00
Sarfaraz Muhammad Sajib 9fb64599de Polishing Up "TestDox.php' PHPDoc Blocks for Clarity
Added the missing parenthesis and period for proper punctuation and formatted the doc block to meet PHPDocumentor standards.
2023-10-16 10:56:06 +06:00
Nuno Maduro 502f37d280 chore: updates links 2023-10-15 12:10:07 +01:00
Nuno Maduro 29cfa8ec35 chore: updates sponsors 2023-10-14 11:34:00 +01:00
Nuno Maduro a63cd2e4f5 Merge pull request #980 from salehhashemi1992/fix/lifecycle-hook-scope
Fix TestCycle hook scope
2023-10-13 15:27:37 +01:00
salehhashemi1992 7249b59e52 fix lifecycle hook scope 2023-10-13 17:51:02 +03:30
Nuno Maduro 5c94d9994e Merge pull request #979 from salehhashemi1992/ci/checkout-update
Update actions/checkout to v4
2023-10-13 00:36:11 +01:00
salehhashemi1992 bb0a5d8323 update checkout to v4 2023-10-12 21:32:46 +03:30
Nuno Maduro b126e8e6e4 release: v2.23.2 v2.23.2 2023-10-10 16:40:34 +01:00
Nuno Maduro 677129d23d chore: uses paratest 7.3.0 2023-10-10 16:39:04 +01:00
Nuno Maduro cef5c36885 release: v2.23.1 v2.23.1 2023-10-10 15:57:14 +01:00
Nuno Maduro a343ba4a29 chore: adds PHPUnit 10.4.1 support 2023-10-10 15:57:07 +01:00
Nuno Maduro 21b30b22a7 release: v2.23.0 v2.23.0 2023-10-10 15:41:56 +01:00
Nuno Maduro 449c4b6c5e chore: adds collision v8 support 2023-10-10 15:37:25 +01:00
Nuno Maduro 6513ad6ced release: v2.22.1 v2.22.1 2023-10-10 14:59:16 +01:00
Nuno Maduro 12421c846e chore: adds termwind v2 support 2023-10-10 14:55:43 +01:00
Nuno Maduro a312cecede release: v2.22.0 v2.22.0 2023-10-10 08:45:41 +01:00
Nuno Maduro 4be97ed314 Merge pull request #977 from JonPurvis/to-be-url-expectation
[2.x] Adds `toBeUrl()` Expectation
2023-10-09 20:06:52 +01:00
JonPurvis 5101b9dce3 add to be url expectation 2023-10-09 20:02:11 +01:00
Nuno Maduro 2ffafd445d release: v2.21.0 v2.21.0 2023-10-06 13:33:39 +01:00
Nuno Maduro 6068ef6150 feat: adds support for PHPUnit 10.4 2023-10-06 13:33:31 +01:00
Nuno Maduro 8c0b933fcd chore: bumps dependencies 2023-10-05 18:32:07 +01:00
Nuno Maduro 991e02649a chore: bumps paratest 2023-10-05 09:42:56 +01:00
Nuno Maduro a8b785f69e release: v2.20.0 v2.20.0 2023-09-29 19:05:52 +01:00
Nuno Maduro 56610d886d Merge pull request #968 from JonPurvis/add-to-be-between-expectation
[2.x] Add `toBeBetween` expectation
2023-09-29 19:01:05 +01:00