mirror of
https://github.com/symfony/recipes-contrib.git
synced 2026-09-12 23:56:29 +03:00
Update Flex endpoint
This commit is contained in:
@@ -0,0 +1,265 @@
|
||||
{
|
||||
"manifests": {
|
||||
"codeception/codeception": {
|
||||
"manifest": {
|
||||
"copy-from-recipe": {
|
||||
"codeception.yml": "codeception.yml",
|
||||
"tests/": "tests/"
|
||||
},
|
||||
"post-install-output": [
|
||||
"codeception.yml written <- Global configuration",
|
||||
"tests/Unit/ created <- Unit tests",
|
||||
"tests/Unit.suite.yml written <- Unit test suite configuration",
|
||||
"tests/Functional/ created <- Functional tests",
|
||||
"tests/Functional.suite.yml written <- Functional test suite configuration",
|
||||
"tests/Acceptance/ created <- Acceptance tests",
|
||||
"tests/Acceptance.suite.yml written <- Acceptance test suite configuration",
|
||||
"<info>Codeception is installed for unit, functional, and acceptance testing</>",
|
||||
"<options=bold>Next steps:</>",
|
||||
"1. Edit <options=bold>tests/Functional.suite.yml</> to enable the Doctrine module if needed",
|
||||
"2. Create your first functional test using <comment>vendor/bin/codecept generate:cest Functional First</>",
|
||||
"3. Write your first test in <options=bold>tests/Functional/FirstCest.php</>",
|
||||
"4. Run tests with: <comment>vendor/bin/codecept run</>"
|
||||
]
|
||||
},
|
||||
"files": {
|
||||
"codeception.yml": {
|
||||
"contents": [
|
||||
"namespace: App\\Tests",
|
||||
"support_namespace: Support",
|
||||
"paths:",
|
||||
" tests: tests",
|
||||
" output: tests/_output",
|
||||
" data: tests/Support/Data",
|
||||
" support: tests/Support",
|
||||
" envs: tests/_envs",
|
||||
"actor_suffix: Tester",
|
||||
"extensions:",
|
||||
" enabled:",
|
||||
" - Codeception\\Extension\\RunFailed",
|
||||
"params:",
|
||||
" - .env",
|
||||
" - .env.test",
|
||||
"settings:",
|
||||
" shuffle: true",
|
||||
" colors: true",
|
||||
" report_useless_tests: true",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"tests/Acceptance.suite.yml": {
|
||||
"contents": [
|
||||
"# Codeception Acceptance Test Suite Configuration",
|
||||
"#",
|
||||
"# Perform tests in a browser by either emulating one using PhpBrowser, or in a real browser using WebDriver.",
|
||||
"# If you need both WebDriver and PhpBrowser tests, create a separate suite for each.",
|
||||
"",
|
||||
"actor: AcceptanceTester",
|
||||
"modules:",
|
||||
" enabled:",
|
||||
" - PhpBrowser:",
|
||||
" url: https://localhost:8000",
|
||||
"# Add Codeception\\Step\\Retry trait to AcceptanceTester to enable retries",
|
||||
"step_decorators:",
|
||||
" - Codeception\\Step\\ConditionalAssertion",
|
||||
" - Codeception\\Step\\TryTo",
|
||||
" - Codeception\\Step\\Retry",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"tests/Acceptance/.gitignore": {
|
||||
"contents": [
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"tests/Functional.suite.yml": {
|
||||
"contents": [
|
||||
"# Codeception Test Suite Configuration",
|
||||
"#",
|
||||
"# Suite for functional tests",
|
||||
"# Emulate web requests and make application process them",
|
||||
"",
|
||||
"actor: FunctionalTester",
|
||||
"modules:",
|
||||
" enabled:",
|
||||
" - Asserts",
|
||||
" - Symfony:",
|
||||
" app_path: 'src'",
|
||||
" environment: 'test'",
|
||||
"# - Doctrine:",
|
||||
"# depends: Symfony",
|
||||
"# cleanup: true",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"tests/Functional/.gitignore": {
|
||||
"contents": [
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"tests/Support/AcceptanceTester.php": {
|
||||
"contents": [
|
||||
"<?php",
|
||||
"",
|
||||
"declare(strict_types=1);",
|
||||
"",
|
||||
"namespace App\\Tests\\Support;",
|
||||
"",
|
||||
"/**",
|
||||
" * Inherited Methods",
|
||||
" *",
|
||||
" * @method void wantTo($text)",
|
||||
" * @method void wantToTest($text)",
|
||||
" * @method void execute($callable)",
|
||||
" * @method void expectTo($prediction)",
|
||||
" * @method void expect($prediction)",
|
||||
" * @method void amGoingTo($argumentation)",
|
||||
" * @method void am($role)",
|
||||
" * @method void lookForwardTo($achieveValue)",
|
||||
" * @method void comment($description)",
|
||||
" * @method void pause($vars = [])",
|
||||
" *",
|
||||
" * @SuppressWarnings(PHPMD)",
|
||||
"*/",
|
||||
"class AcceptanceTester extends \\Codeception\\Actor",
|
||||
"{",
|
||||
" use _generated\\AcceptanceTesterActions;",
|
||||
"",
|
||||
" /**",
|
||||
" * Define custom actions here",
|
||||
" */",
|
||||
"}",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"tests/Support/Data/.gitignore": {
|
||||
"contents": [
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"tests/Support/FunctionalTester.php": {
|
||||
"contents": [
|
||||
"<?php",
|
||||
"",
|
||||
"declare(strict_types=1);",
|
||||
"",
|
||||
"namespace App\\Tests\\Support;",
|
||||
"",
|
||||
"/**",
|
||||
" * Inherited Methods",
|
||||
" *",
|
||||
" * @method void wantTo($text)",
|
||||
" * @method void wantToTest($text)",
|
||||
" * @method void execute($callable)",
|
||||
" * @method void expectTo($prediction)",
|
||||
" * @method void expect($prediction)",
|
||||
" * @method void amGoingTo($argumentation)",
|
||||
" * @method void am($role)",
|
||||
" * @method void lookForwardTo($achieveValue)",
|
||||
" * @method void comment($description)",
|
||||
" * @method void pause($vars = [])",
|
||||
" *",
|
||||
" * @SuppressWarnings(PHPMD)",
|
||||
"*/",
|
||||
"class FunctionalTester extends \\Codeception\\Actor",
|
||||
"{",
|
||||
" use _generated\\FunctionalTesterActions;",
|
||||
"",
|
||||
" /**",
|
||||
" * Define custom actions here",
|
||||
" */",
|
||||
"}",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"tests/Support/Helper/.gitignore": {
|
||||
"contents": [
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"tests/Support/UnitTester.php": {
|
||||
"contents": [
|
||||
"<?php",
|
||||
"",
|
||||
"declare(strict_types=1);",
|
||||
"",
|
||||
"namespace App\\Tests\\Support;",
|
||||
"",
|
||||
"/**",
|
||||
" * Inherited Methods",
|
||||
" *",
|
||||
" * @method void wantTo($text)",
|
||||
" * @method void wantToTest($text)",
|
||||
" * @method void execute($callable)",
|
||||
" * @method void expectTo($prediction)",
|
||||
" * @method void expect($prediction)",
|
||||
" * @method void amGoingTo($argumentation)",
|
||||
" * @method void am($role)",
|
||||
" * @method void lookForwardTo($achieveValue)",
|
||||
" * @method void comment($description)",
|
||||
" * @method void pause($vars = [])",
|
||||
" *",
|
||||
" * @SuppressWarnings(PHPMD)",
|
||||
"*/",
|
||||
"class UnitTester extends \\Codeception\\Actor",
|
||||
"{",
|
||||
" use _generated\\UnitTesterActions;",
|
||||
"",
|
||||
" /**",
|
||||
" * Define custom actions here",
|
||||
" */",
|
||||
"}",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"tests/Support/_generated/.gitignore": {
|
||||
"contents": [
|
||||
"*",
|
||||
"!.gitignore",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"tests/Unit.suite.yml": {
|
||||
"contents": [
|
||||
"# Codeception Test Suite Configuration",
|
||||
"#",
|
||||
"# Suite for unit or integration tests.",
|
||||
"",
|
||||
"actor: UnitTester",
|
||||
"modules:",
|
||||
" enabled:",
|
||||
" - Asserts",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"tests/Unit/.gitignore": {
|
||||
"contents": [
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"tests/_output/.gitignore": {
|
||||
"contents": [
|
||||
"*",
|
||||
"!.gitignore",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
}
|
||||
},
|
||||
"ref": "d2e352c4777ebd645b269ecdf793deccce16bf50"
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user