mirror of
https://github.com/SuiteCRM/SuiteCRM-Core.git
synced 2025-08-29 04:47:10 +08:00
Symfony 6.4 - Update codeception recipe
This commit is contained in:
parent
164334d431
commit
af452b8e13
5 changed files with 58 additions and 7 deletions
13
codeception.yml
Normal file
13
codeception.yml
Normal file
|
@ -0,0 +1,13 @@
|
|||
namespace: App\Tests
|
||||
paths:
|
||||
tests: tests
|
||||
output: tests/_output
|
||||
data: tests/_data
|
||||
support: tests/_support
|
||||
envs: tests/_envs
|
||||
actor_suffix: Tester
|
||||
extensions:
|
||||
enabled:
|
||||
- Codeception\Extension\RunFailed
|
||||
params:
|
||||
- .env
|
14
symfony.lock
14
symfony.lock
|
@ -32,12 +32,12 @@
|
|||
"version": "3.1.0"
|
||||
},
|
||||
"codeception/codeception": {
|
||||
"version": "2.3",
|
||||
"version": "5.0",
|
||||
"recipe": {
|
||||
"repo": "github.com/symfony/recipes-contrib",
|
||||
"branch": "master",
|
||||
"branch": "main",
|
||||
"version": "2.3",
|
||||
"ref": "d2a29c0abee586aff913fd45fae1f59b669f4cbe"
|
||||
"ref": "89689e24507d8cb2c4a7937ece549db3836b608c"
|
||||
},
|
||||
"files": [
|
||||
"codeception.yml",
|
||||
|
@ -50,12 +50,12 @@
|
|||
"tests/_support/Helper/Unit.php",
|
||||
"tests/_support/UnitTester.php",
|
||||
"tests/_support/_generated/.gitignore",
|
||||
"tests/acceptance/.gitignore",
|
||||
"tests/functional/.gitignore",
|
||||
"tests/unit/.gitignore",
|
||||
"tests/acceptance.suite.yml",
|
||||
"tests/acceptance/.gitignore",
|
||||
"tests/functional.suite.yml",
|
||||
"tests/unit.suite.yml"
|
||||
"tests/functional/.gitignore",
|
||||
"tests/unit.suite.yml",
|
||||
"tests/unit/.gitignore"
|
||||
]
|
||||
},
|
||||
"codeception/lib-asserts": {
|
||||
|
|
12
tests/acceptance.suite.yml
Normal file
12
tests/acceptance.suite.yml
Normal file
|
@ -0,0 +1,12 @@
|
|||
# Codeception Test Suite Configuration
|
||||
#
|
||||
# Suite for acceptance tests.
|
||||
# Perform tests in browser using the WebDriver or PhpBrowser.
|
||||
# If you need both WebDriver and PHPBrowser tests - create a separate suite.
|
||||
|
||||
actor: AcceptanceTester
|
||||
modules:
|
||||
enabled:
|
||||
- PhpBrowser:
|
||||
url: http://localhost:8000
|
||||
- \App\Tests\Helper\Acceptance
|
17
tests/functional.suite.yml
Normal file
17
tests/functional.suite.yml
Normal file
|
@ -0,0 +1,17 @@
|
|||
# Codeception Test Suite Configuration
|
||||
#
|
||||
# Suite for functional tests
|
||||
# Emulate web requests and make application process them
|
||||
# Include one of framework modules (Symfony2, Yii2, Laravel5) to use it
|
||||
# Remove this suite if you don't use frameworks
|
||||
|
||||
actor: FunctionalTester
|
||||
modules:
|
||||
enabled:
|
||||
- Symfony:
|
||||
app_path: 'src'
|
||||
environment: 'test'
|
||||
# - Doctrine2:
|
||||
# depends: Symfony
|
||||
# cleanup: true
|
||||
- \App\Tests\Helper\Functional
|
9
tests/unit.suite.yml
Normal file
9
tests/unit.suite.yml
Normal file
|
@ -0,0 +1,9 @@
|
|||
# Codeception Test Suite Configuration
|
||||
#
|
||||
# Suite for unit or integration tests.
|
||||
|
||||
actor: UnitTester
|
||||
modules:
|
||||
enabled:
|
||||
- Asserts
|
||||
- \App\Tests\Helper\Unit
|
Loading…
Add table
Add a link
Reference in a new issue