github pestphp/pest v5.4.0

one hour ago

What's Changed

  • fix(tia): fingerprint the configuration file the run uses by @cyppe in #1924
  • fix: honor all stop-on-* flags in parallel mode by @stsepelin in #1684
  • fix(tia): apply the prefix and suffix of source exclude directories by @lazerg in #2032
  • Match the exact TeamCity output flag by @haranishi in #2052
  • Run the generated Pest suite without a Tests autoload mapping by @haranishi in #2054
  • Fail when a snapshot cannot be written by @haranishi in #2048
  • Match deleted paths against TIA watch patterns by @haranishi in #2050
  • Shorten overlong snapshot filenames by @haranishi in #2047
  • Skip execution for empty test shards by @haranishi in #2041
  • Select dirty tests with quoted Git paths by @haranishi in #2042
  • Preserve existing PHPUnit configuration files by @haranishi in #2044
  • Keep focused tests local to each Pest run by @haranishi in #2049
  • Support nested Composer vendor directories by @haranishi in #2053
  • Reject the parallel short flag during retry by @haranishi in #2043
  • Allow help and version before the test suite is initialized by @haranishi in #2051
  • feat: convert namespace-style arguments to file paths in pest binary by @florianraith in #1705
  • feat(tia): let a project leave paths out of read capture by @sylouuu in #2030
  • fix: beforeEach/afterEach leaking into sibling describe blocks with same nested name by @one-git-wonder in #1850
  • Add an observer for the exit code after output plugins by @fouteox in #1905
  • [5.x] TIA: stat once in ReadCapture::url_stat() by @jbraband in #2038
  • feat: let a shard unit bundle several test classes by @maks-oleksyuk in #1829
  • fix(tia): stop ReadCapture from keeping a wrapper per filesystem call by @MohannadElemary in #2057
  • fix(tia): support a Pest project nested in a git repository by @jfatr in #1914
  • fix(tia): keep the results of a parallel full-suite fallback by @jfatr in #2067
  • fix(tia): end the SFC script tag after quoted attributes that hold > by @benddailey in #2063
  • fix(tia): load rolldown from vite/rolldown under Vite+ by @benddailey in #2061
  • fix(tia): fingerprint the generated configuration like the restarter does by @jfatr in #2065
  • fix(tia): fingerprint the bootstrap and include path the command line sets by @jfatr in #2068
  • Fix Rector style checks on 5.x by @MrPunyapal in #2083
  • fix(tia): forward ReadCapture calls to wrappers that use __call by @lazerg in #2078
  • fix: ignore packages bundled in a PHAR when detecting installed packages by @jfatr in #2059
  • fix(tia): run git in the C locale so Pest reads its messages in any language by @jfatr in #2074
  • fix(parallel): load the autoloader of the parent process in workers by @jfatr in #2058
  • fix: allow dynamic properties on TestCall by @lazerg in #2085
  • fix(sharding): strip every paratest-only option from the --list-tests sub-process by @webard in #2076
  • fix(tia): keep the graph writable when a path is not valid UTF-8 by @jfatr in #2079
  • fix(tia): report why an include failed as plain PHP does by @cjmellor in #2082
  • fix: Laravel parallel process hooks by @rzv-me in #2084
  • fix(tia): keep numeric file, branch and page names as strings by @jfatr in #2066
  • fix(tia): run the full suite when code the project loads from outside its root changes by @jfatr in #1915
  • fix(tia): report a git timeout like any other git failure by @jfatr in #2069
  • fix: not->toHaveKeys() with nested keys by @Anthony14FR in #2094
  • Split macOS integration tests into separate jobs by @MrPunyapal in #2096
  • fix: accept space separated values for --min and --exactly by @YoussefMansour9 in #1921
  • Refresh 5.x test snapshots by @MrPunyapal in #2097
  • fix(parallel): support --include-path by @jfatr in #2075
  • fix(tia): record test files the graph does not know during a replay by @jfatr in #2093
  • fix: toThrow() and throws() with an interface by @Anthony14FR in #2098
  • fix(tia): keep the run going when git is slow at boot by @jfatr in #2088
  • fix(tia): restrict Xdebug coverage to the source scope before tracing by @jfatr in #2091
  • feat(tia): replay unaffected tests in a partial run by @jfatr in #2092
  • fix: keep the options that Pest adds before -- by @jfatr in #2087
  • fix(tia): read the baseline of the changed files in one git process by @jfatr in #2090
  • Correct JSON expectation return types by @MrPunyapal in #2100
  • fix: toThrow() failure message when nothing is thrown by @Anthony14FR in #2099
  • release: v5.4.0 by @MrPunyapal in #2101

New Contributors

Full Changelog: v5.3.7...v5.4.0

Don't miss a new pest release

NewReleases is sending notifications on new releases.