Merge branch '2.x' into 3.x

This commit is contained in:
Nuno Maduro
2024-08-20 22:57:52 +01:00
4 changed files with 16 additions and 14 deletions

View File

@ -31,8 +31,10 @@ We cannot thank our sponsors enough for their incredible support in funding Pest
- [Akaunting](https://akaunting.com/?ref=pestphp)
- [Codecourse](https://codecourse.com/?ref=pestphp)
- [DocuWriter.ai](https://www.docuwriter.ai/?ref=pestphp)
- [Laracasts](https://laracasts.com/?ref=pestphp)
- [Localazy](https://localazy.com/?ref=pestphp)
- [Route4Me](https://www.route4me.com/?ref=pestphp)
- [Zapiet](https://www.zapiet.com/?ref=pestphp)
Pest is an open-sourced software licensed under the **[MIT license](https://opensource.org/licenses/MIT)**.

View File

@ -6,7 +6,7 @@ namespace Pest;
function version(): string
{
return '3.0.0-beta-3';
return '3.0.0-beta-4';
}
function testDirectory(string $file = ''): string

View File

@ -1,5 +1,5 @@
Pest Testing Framework 3.0.0-beta-3.
Pest Testing Framework 3.0.0-beta-4.
USAGE: pest <file> [options]
@ -8,8 +8,8 @@
--bootstrap [file] ...... A PHP script that is included before the tests run
-c|--configuration [file] ................. Read configuration from XML file
--no-configuration ......... Ignore default configuration file (phpunit.xml)
--extension [class] .. Register test runner extension with bootstrap [class]
--no-extensions ..................... Do not register test runner extensions
--extension [class] .. Register test runner extension with bootstrap [class]
--no-extensions ..................... Do not register test runner extensions
--include-path [path(s)] ..... Prepend PHP's include_path with given path(s)
-d [key[=value]] ...................................... Sets a php.ini value
--cache-directory [dir] ............................ Specify cache directory
@ -22,10 +22,10 @@
SELECTION OPTIONS:
--bail ........................... Stop execution upon first not-passed test
--todos ........................ Output to standard output the list of todos
--notes ......................... Output to standard output tests with notes
--issue ........ Output to standard output tests with the given issue number
--pr .... Output to standard output tests with the given pull request number
--pull-request Output to standard output tests with the given pull request number (alias for --pr)
--notes ......................... Output to standard output tests with notes
--issue ........ Output to standard output tests with the given issue number
--pr .... Output to standard output tests with the given pull request number
--pull-request Output to standard output tests with the given pull request number (alias for --pr)
--retry Run non-passing tests first and stop execution upon first error or failure
--list-suites ................................... List available test suites
--testsuite [name] ......... Only run tests from the specified test suite(s)
@ -35,11 +35,11 @@
--exclude-group [name] ........... Exclude tests from the specified group(s)
--covers [name] ................. Only run tests that intend to cover [name]
--uses [name] ..................... Only run tests that intend to use [name]
--list-test-files ................................ List available test files
--list-test-files ................................ List available test files
--list-tests .......................................... List available tests
--list-tests-xml [file] ................. List available tests in XML format
--filter [pattern] ............................... Filter which tests to run
--exclude-filter [pattern] .. Exclude tests for the specified filter pattern
--exclude-filter [pattern] .. Exclude tests for the specified filter pattern
--test-suffix [suffixes] Only search for test in files with specified suffix(es). Default: Test.php,.phpt
EXECUTION OPTIONS:
@ -91,7 +91,7 @@
--reverse-list .............................. Print defects in reverse order
--teamcity . Replace default progress and result output with TeamCity format
--testdox ................ Replace default result output with TestDox format
--testdox-summary Repeat TestDox output for tests with errors, failures, or issues
--testdox-summary Repeat TestDox output for tests with errors, failures, or issues
--debug Replace default progress and result output with debugging information
--compact ................ Replace default result output with Compact format
@ -113,8 +113,8 @@
--coverage-html [dir] Write code coverage report in HTML format to directory
--coverage-php [file] .......... Write serialized code coverage data to file
--coverage-text=[file] Write code coverage report in text format to file [default: standard output]
--only-summary-for-coverage-text Option for code coverage report in text format: only show summary
--show-uncovered-for-coverage-text Option for code coverage report in text format: show uncovered files
--only-summary-for-coverage-text Option for code coverage report in text format: only show summary
--show-uncovered-for-coverage-text Option for code coverage report in text format: show uncovered files
--coverage-xml [dir] . Write code coverage report in XML format to directory
--warm-coverage-cache ........................... Warm static analysis cache
--coverage-filter [dir] ........... Include [dir] in code coverage reporting

View File

@ -1,3 +1,3 @@
Pest Testing Framework 3.0.0-beta-3.
Pest Testing Framework 3.0.0-beta-4.