This repository was archived by the owner on Jan 27, 2023. It is now read-only.
forked from SolidInvoice/SolidInvoice
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbehat.yml
More file actions
81 lines (76 loc) · 2.75 KB
/
Copy pathbehat.yml
File metadata and controls
81 lines (76 loc) · 2.75 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
imports:
- 'travis/behat/linux.yml'
- 'travis/behat/macos_sierra.yml'
- 'travis/behat/osx_el_capitan.yml'
- 'travis/behat/windows10.yml'
- 'travis/behat/windows81.yml'
default:
formatters:
pretty:
verbose: true
paths: false
snippets: false
suites:
installation:
contexts:
- FeatureContext: { doctrine: '@doctrine' }
- Behat\MinkExtension\Context\MinkContext
- SolidInvoice\CoreBundle\Behat\CoreContext
- SolidInvoice\InstallBundle\Behat\InstallContext
- SolidInvoice\UserBundle\Behat\UserContext
filters:
tags: "@installation"
login:
contexts:
- FeatureContext: { doctrine: '@doctrine' }
- Behat\MinkExtension\Context\MinkContext
- SolidInvoice\CoreBundle\Behat\CoreContext
- SolidInvoice\UserBundle\Behat\UserContext
filters:
tags: "@login"
api:
contexts:
- FeatureContext: { doctrine: '@doctrine' }
- SolidInvoice\ApiBundle\Behat\ApiContext
- SolidInvoice\UserBundle\Behat\UserContext
- Behat\MinkExtension\Context\MinkContext
- Behatch\Context\RestContext
- Behatch\Context\JsonContext
- Knp\FriendlyContexts\Context\EntityContext
- Knp\FriendlyContexts\Context\AliceContext
filters:
tags: "@api"
extensions:
Behat\MinkExtension:
base_url: http://127.0.0.1:9001/
default_session: symfony
javascript_session: saucelabs
sessions:
symfony:
symfony2: ~
saucelabs:
sauce_labs:
browser: chrome
connect: true
capabilities:
custom-data: { travis: true }
#browser_name: firefox
#show_auto: false
Behat\Symfony2Extension:
kernel:
env: "test"
debug: "true"
Behatch\Extension: ~
Knp\FriendlyContexts\Extension:
entities:
namespaces:
- SolidInvoice\ClientBundle
- SolidInvoice\InvoiceBundle
- SolidInvoice\QuoteBundle
- SolidInvoice\UserBundle
alice:
fixtures:
Client: tests/fixtures/client.yml
Invoice: tests/fixtures/invoice.yml
Quote: tests/fixtures/quote.yml
Payment: tests/fixtures/payment.yml