Commit Graph

365 Commits

Author SHA1 Message Date
Daniel Ang 042f2ec3f3 Use mb_strlen instead of grapheme_strlen
Due to inconsistent behave, mb_strlen will be used.
2021-08-29 12:55:37 +02:00
Daniel Ang 4f386894bd Revert "Use toHaveCount"
This reverts commit 2289adade2.
2021-08-28 18:14:55 +02:00
Daniel Ang 2289adade2 Use toHaveCount
changes to toHaveCount
2021-08-28 17:54:29 +02:00
Daniel Ang 8367af22e7 Adds toHaveLength() Expectation & Tests
Adds toHaveLength() Expectation and its tests. toHaveLength checks if the given value has the informed length. Works with strings, array, object and collections.
2021-08-28 17:02:09 +02:00
Nuno Maduro 075c31bc78 release: v1.17.0 2021-08-26 21:17:03 +01:00
Nuno Maduro 2125bf9668 chore: adjusts tests 2021-08-26 21:14:56 +01:00
Nuno Maduro dbf3c0a8cf Merge pull request #361 from kbond/throw-expectation
Add `toThrow` expectation
2021-08-26 21:02:38 +01:00
Luke Downing eca5f89e59 release: v1.16.0 2021-08-19 17:07:45 +01:00
luke 4dfc02c5da Refactor 2021-08-13 11:19:03 +01:00
luke 5c84b0c6d3 The getFilenames method now respects only calls. 2021-08-13 11:07:52 +01:00
luke d9749ca65b Adds a method for getting all filenames 2021-08-13 10:26:38 +01:00
luke c2070cd99d Refactor 2021-08-13 10:19:10 +01:00
luke 03d34e9a10 Removes isInParallel 2021-08-13 10:14:01 +01:00
luke 45e76a6df6 Typehint updates 2021-08-13 09:41:45 +01:00
luke 28dd3c2a03 Adds -P as a parallel shortcut 2021-08-13 09:39:56 +01:00
luke ab04aef561 Refactors addOutput 2021-08-11 20:59:19 +01:00
luke c7a2e68941 Fixes a problem with the PhpUnit logger 2021-08-10 14:57:36 +01:00
luke 5c592928d4 Adds a new method, isInParallel, to the Testable trait to allow a test to determine its parallel status. 2021-08-10 14:34:10 +01:00
luke ef503646ee Removes parallel classes. 2021-08-10 11:30:48 +01:00
luke a760470e48 Adds Pest output to parallel. 2021-08-09 18:57:20 +01:00
luke 31d1b1b91d Adds a little more spacing above the coverage output. 2021-08-06 15:15:09 +01:00
Adrian Nürnberger 721d5134b7 replace str_starts_with to support pre php 8.0 2021-08-06 16:00:03 +02:00
Adrian Nürnberger 0b5321fdd7 only check for coverage driver if option is present 2021-08-06 15:48:38 +02:00
Adrian Nürnberger c86058fed1 use support class 2021-08-06 15:39:19 +02:00
Adrian Nürnberger 8b295b5e9d remove debug statements 2021-08-06 15:38:59 +02:00
Adrian Nürnberger 221248e691 introduced argument mapping, added pest coverage 2021-08-06 15:25:28 +02:00
luke 62aabc6ae1 Bugfix. The TestCase is now aware of if it is running in parallel or not 😎 2021-08-05 17:09:45 +01:00
luke 1ca9aa5ca6 Further cleanup 2021-08-05 16:43:09 +01:00
luke beca27599c Further cleanup 2021-08-05 16:18:47 +01:00
luke 256b167eaf Improvements 2021-08-05 15:31:09 +01:00
luke 5526d4c24d Cleanup 2021-08-05 13:51:55 +01:00
luke 7ea138c640 CS fixes 2021-08-05 13:41:04 +01:00
luke 0a3991c314 Initial working draft 2021-08-05 13:13:53 +01:00
Nuno Maduro d1a9e0bbe3 release: v1.15.0 2021-08-04 23:02:18 +01:00
Esteban 8ee07330b3 Add toBeFalsy 2021-08-03 20:55:07 -04:00
Esteban cffde4564d Add toBeTruthy 2021-08-03 20:54:56 -04:00
Nuno Maduro 06c4019e81 cs: removes comment 2021-08-03 18:22:15 +01:00
luke e83667a20b docs: update changelog 2021-08-03 14:01:53 +01:00
luke b1a9254fc1 Merge branch 'master' into bound-datasets
# Conflicts:
#	tests/.snapshots/success.txt
2021-08-02 14:02:49 +01:00
Kevin Bond c776bcf86d add toThrow expectation 2021-08-01 12:33:09 -04:00
luke a0637d86ff Refactors 2021-08-01 17:00:01 +01:00
luke 1a941d7f92 Refactors 2021-08-01 16:45:06 +01:00
luke b5959aa3fa Refactors 2021-08-01 15:42:52 +01:00
luke 8861dd2401 Merges with master 2021-08-01 15:40:34 +01:00
luke da73f4b395 Merge branch 'master' into teamcity-styling
# Conflicts:
#	tests/.snapshots/success.txt
2021-08-01 15:36:53 +01:00
luke 022ad4be0d Merge branch 'master' into bound-datasets
# Conflicts:
#	tests/.snapshots/success.txt
2021-07-31 23:27:38 +01:00
Fabio Ivona 675b0f1ec8 implements multiple needles in expect()->toContain() 2021-07-31 18:29:03 +02:00
luke c2b86c3ab3 Removes pest from stack traces 2021-07-30 16:34:30 +01:00
luke 46337b8085 Removes pest from stack traces 2021-07-30 16:32:00 +01:00
luke df172d8eed Adds new lines 2021-07-30 15:36:38 +01:00