diff options
author | Thomas Müller <thomas.mueller@tmit.eu> | 2015-10-29 15:13:29 +0100 |
---|---|---|
committer | Thomas Müller <thomas.mueller@tmit.eu> | 2015-10-29 17:10:52 +0100 |
commit | fcc2a0c8304020ce040a421472dc0c9e722e2bc8 (patch) | |
tree | ab8a0078ec07737b6318d524a992b107f37bb9f2 /build/integration/config/behat.yml | |
parent | d11b69bfb9fdb75389fd6c3f6234e52eb85b88ce (diff) | |
download | nextcloud-server-fcc2a0c8304020ce040a421472dc0c9e722e2bc8.tar.gz nextcloud-server-fcc2a0c8304020ce040a421472dc0c9e722e2bc8.zip |
Upgrade behat to 3.0.x and use @BeforeScenario and @AfterScenario to clean up users
Diffstat (limited to 'build/integration/config/behat.yml')
-rw-r--r-- | build/integration/config/behat.yml | 33 |
1 files changed, 17 insertions, 16 deletions
diff --git a/build/integration/config/behat.yml b/build/integration/config/behat.yml index 8b6699cb086..c9d6754a0fa 100644 --- a/build/integration/config/behat.yml +++ b/build/integration/config/behat.yml @@ -1,18 +1,19 @@ default: - paths: - features: ../features - bootstrap: %behat.paths.features%/bootstrap + autoload: + '': %paths.base%/../features/bootstrap + suites: + default: + paths: + - %paths.base%/../features + contexts: + - FeatureContext: + baseUrl: http://localhost:8080/ocs/ + admin: + - admin + - admin + regular_user_password: 123456 - context: - parameters: - baseUrl: http://localhost:8080/ocs/ - admin: - - admin - - admin - regular_user_password: 123456 - -ci: - formatter: - name: pretty,junit - parameters: - output_path: null,./output + extensions: + jarnaiz\JUnitFormatter\JUnitFormatterExtension: + filename: report.xml + outputDir: %paths.base%/../output/ |