-
-
Notifications
You must be signed in to change notification settings - Fork 33
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* feat: Introduce behat (and phpunit) * Add behat.yml.dist config file * start adding test on impact * Fix Authorization * Update behat yml dist * add host * everytest working on impact atm * create update delete list tested on impact * impact done * continue host * add tests for steps and fix hosts * fix beyat * Rewording Co-authored-by: Houziaux mike / Jenaye <[email protected]>
- Loading branch information
Showing
23 changed files
with
13,196 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
# define your env variables for the test env here | ||
KERNEL_CLASS='App\Kernel' | ||
APP_SECRET='$ecretf0rt3st' | ||
SYMFONY_DEPRECATIONS_HELPER=999999 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,10 @@ | ||
vendor/ | ||
config/jwt/*.pem | ||
###> friends-of-behat/symfony-extension ### | ||
/behat.yml | ||
###< friends-of-behat/symfony-extension ### | ||
|
||
###> phpunit/phpunit ### | ||
/phpunit.xml | ||
.phpunit.result.cache | ||
###< phpunit/phpunit ### |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
default: | ||
suites: | ||
impact: | ||
paths: [ '%paths.base%/features/impact.feature' ] | ||
contexts: | ||
- App\Tests\Behat\ClientContext: | ||
kernel: '@kernel' | ||
- App\Tests\Behat\DemoContext: | ||
kernel: '@kernel' | ||
- App\Tests\Behat\FeatureContext | ||
- App\Tests\Behat\ImpactContext: | ||
kernel: '@kernel' | ||
- Behatch\Context\JsonContext | ||
host: | ||
paths: [ '%paths.base%/features/host.feature' ] | ||
contexts: | ||
- App\Tests\Behat\ClientContext: | ||
kernel: '@kernel' | ||
- App\Tests\Behat\DemoContext: | ||
kernel: '@kernel' | ||
- App\Tests\Behat\FeatureContext | ||
- App\Tests\Behat\HostContext: | ||
kernel: '@kernel' | ||
- Behatch\Context\JsonContext | ||
step: | ||
paths: [ '%paths.base%/features/step.feature' ] | ||
contexts: | ||
- App\Tests\Behat\ClientContext: | ||
kernel: '@kernel' | ||
- App\Tests\Behat\DemoContext: | ||
kernel: '@kernel' | ||
- App\Tests\Behat\FeatureContext | ||
- App\Tests\Behat\StepContext: | ||
kernel: '@kernel' | ||
- Behatch\Context\JsonContext | ||
|
||
|
||
extensions: | ||
FriendsOfBehat\SymfonyExtension: | ||
kernel: | ||
environment: test | ||
Behatch\Extension: ~ | ||
Behat\MinkExtension: | ||
sessions: | ||
default: | ||
symfony: ~ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.