Migrate tests to Pest

This commit is contained in:
2024-11-17 21:30:53 +00:00
parent 486028bd40
commit d896e9a6c6
93 changed files with 5720 additions and 5207 deletions

View File

@@ -25,9 +25,9 @@
"ext-pdo": "*"
},
"require-dev": {
"phpunit/phpunit": "^11",
"square/pjson": "^0.5.0",
"phpstan/phpstan": "^1.12"
"phpstan/phpstan": "^1.12",
"pestphp/pest": "^3.2"
},
"autoload": {
"psr-4": {
@@ -39,13 +39,17 @@
"autoload-dev": {
"psr-4": {
"Test\\": "./tests",
"Test\\Unit\\": "./tests/unit",
"Test\\Integration\\": "./tests/integration",
"Test\\Integration\\PostgreSQL\\": "./tests/integration/postgresql",
"Test\\Integration\\SQLite\\": "./tests/integration/sqlite"
"Test\\Integration\\": "./tests/Integration",
"Test\\Integration\\PostgreSQL\\": "./tests/Integration/PostgreSQL",
"Test\\Integration\\SQLite\\": "./tests/Integration/SQLite"
}
},
"archive": {
"exclude": [ "/tests", "/.gitattributes", "/.gitignore", "/.git", "/composer.lock" ]
},
"config": {
"allow-plugins": {
"pestphp/pest-plugin": true
}
}
}