diff --git a/behat.yml b/behat.yml index 77c4d0e..5176e20 100644 --- a/behat.yml +++ b/behat.yml @@ -7,4 +7,8 @@ default: paths: - "%paths.base%/tests/Acceptance/CustomMessageType" contexts: - - PubNubTests\Acceptance\CustomMessageType\CustomMessageTypeContext \ No newline at end of file + - PubNubTests\Acceptance\CustomMessageType\CustomMessageTypeContext + formatters: + pretty: true + junit: + output_path: "%paths.base%/tests/Acceptance/report.xml" \ No newline at end of file diff --git a/composer.json b/composer.json index 8af1768..8f39ef7 100644 --- a/composer.json +++ b/composer.json @@ -19,7 +19,7 @@ "cp sdk-specifications/features/publish/publish-custom-mssg-type.feature tests/Acceptance/CustomMessageType/publish-custom-mssg-type.feature", "cp sdk-specifications/features/publish/signal-custom-mssg-type.feature tests/Acceptance/CustomMessageType/signal-custom-mssg-type.feature", "cp sdk-specifications/features/history/history-custom-mssg-type.feature tests/Acceptance/CustomMessageType/history-custom-mssg-type.feature", - "vendor/bin/behat -f junit -o tests/Acceptance/reports/" + "vendor/bin/behat" ] }, "require": {