Kamil Kokot
9609cc1171
Fix a weird bug causing failures in Sylius
2020-04-04 18:26:20 +02:00
Kamil Kokot
13b81e21de
feature #116 Accessing tested application services easily via driver's service container (pamil)
...
This PR was merged into the 2.1-dev branch.
Discussion
----------
Fixes #86 , fixes #110 .
TODO:
- [x] Documentation
Commits
-------
776af6cc38 Describe accessing driver's service container
b05304858c Introduce a service in the test application that exposes driver's service container
e94285dc0b Fix coding standard
2020-04-04 15:52:47 +02:00
Kamil Kokot
e94285dc0b
Fix coding standard
2020-04-04 15:44:41 +02:00
Kamil Kokot
e37704744c
Add safety check for SymfonyDriverFactory to make sure BrowserKitDriver is installed
2020-04-04 15:28:28 +02:00
Kamil Kokot
b05304858c
Introduce a service in the test application that exposes driver's service container
2020-04-04 15:26:02 +02:00
Kamil Kokot
019557e8e3
Try to run tests with Behat @ dev-master
2020-01-15 18:54:07 +01:00
Kamil Kokot
f0035b1087
Merge branch '2.0'
...
* 2.0:
Generate changelog for v2.0.10
Fix referencing context initializers
Add conflict with symfony/stopwatch ^5.0
Fix the build & add tests for Symfony 4.3 and 4.4
2019-12-09 13:13:33 +01:00
Alexander Kurilo
06104478cc
Fix referencing context initializers
...
With definition, that has been used instead of reference, container has
used to created 2 instances of initializer: one with service id, and one
"anonymous", described by spl_object_hash in a container, it breaked
stateful initializers: in my case initializer was also used to reset
state before next scenario/example, and initializing and resetting happened
with different instances of initializer
2019-12-09 13:01:40 +01:00
Kamil Kokot
15f9801c2b
Merge branch '2.0'
...
* 2.0:
Change author's website URL
Do not require base URL set with Mink
Add base_url to docs for configuring Mink
2019-10-10 17:54:28 +02:00
Kamil Kokot
f3eca984d2
Do not require base URL set with Mink
2019-10-10 17:38:33 +02:00
Kamil Kokot
39a108cded
Merge branch '2.0'
...
* 2.0:
[HotFix] Force object typehint
Improve Mink installation docs
2019-09-10 12:25:57 +02:00
Łukasz Chruściel
b056e9b5f0
[HotFix] Force object typehint
2019-09-09 19:52:03 +02:00
Kamil Kokot
ab61dbaa39
Provide simple BrowserKit integration
2019-08-25 18:34:54 +02:00
Kamil Kokot
2f038b27c6
Coding standard fixes
2019-08-25 18:34:16 +02:00
Kamil Kokot
30b6c37537
Fix master build
2019-05-17 17:06:36 +08:00
Kamil Kokot
24a318dc6d
Merge branch '2.0'
...
* 2.0:
Generate changelog for v2.0.8
Initialize contexts registered as services
2019-03-21 17:26:59 +01:00
Kamil Kokot
a425be697a
Initialize contexts registered as services
2019-03-21 17:16:23 +01:00
Kamil Kokot
cdb51ce570
Merge branch '2.0'
...
* 2.0:
Hotfix for weird bug in Sylius
2019-03-17 23:35:18 +01:00
Kamil Kokot
69d150b3dc
Hotfix for weird bug in Sylius
2019-03-17 23:29:56 +01:00
Kamil Kokot
0310c16132
Post-upmerge fixes
2019-03-15 15:38:00 +01:00
Kamil Kokot
6170d09b42
Merge branch '2.0'
...
* 2.0:
Fix bug preventing changes of Mink default session service
2019-03-15 15:37:04 +01:00
Kamil Kokot
01fe9425a1
Fix bug preventing changes of Mink default session service
2019-03-15 15:21:36 +01:00
Kamil Kokot
8d554a8a32
Merge branch '2.0'
...
* 2.0:
Generate changelog for v2.0.4 and v2.0.5
Allow accessing a context in another context
2019-03-04 14:14:22 +01:00
Kamil Kokot
13d64ca7cb
Allow accessing a context in another context
2019-03-04 13:32:16 +01:00
Kamil Kokot
d61600f563
Expose the Mink service
2019-02-13 17:02:21 +01:00
Alan Poulain
8a972b5b48
Apply suggestions from code review
...
Co-Authored-By: pamil <kamil@kokot.me >
2019-02-13 12:29:55 +01:00
Kamil Kokot
c54c581e74
Refactor our environment handler to decorate the original one
2019-02-13 00:38:07 +01:00
Kamil Kokot
d74cd251d5
Add more sanity checks
2019-02-12 23:42:41 +01:00
Kamil Kokot
cd792704fa
Add support for class resolvers
2019-02-12 22:56:42 +01:00
Kamil Kokot
717c869ad6
Revert mink parameters autoconfiguration
2019-02-07 11:58:17 +01:00
Kamil Kokot
394b9abdfc
Fix support for context initializers
2019-01-30 17:10:20 +01:00
Kamil Kokot
3e1da228d0
Clean up the bundle's extension
2019-01-21 15:24:49 +01:00
Kamil Kokot
736e0d9c1d
Remove notice when checking if fallback to test env is needed
2019-01-16 22:42:20 +01:00
Kamil Kokot
de59f04531
Fallback to the "test" environment if no server/env variable is set
2019-01-16 22:28:49 +01:00
Kamil Kokot
f736a4aaf1
Allow "APP_ENV" and "APP_DEBUG" server/env variables set in bootstrap to affect kernel arguments
2019-01-16 21:30:11 +01:00
Kamil Kokot
39cdb2074a
Allow to configure kernel using server & env variables
2019-01-16 17:19:36 +01:00
Kamil Kokot
24493cc58c
Minor fixes to the nomenclature
2019-01-11 00:28:22 +01:00
Kamil Kokot
d6701d785c
Implement bootstrap file autodiscovering
2019-01-11 00:24:59 +01:00
Kamil Kokot
fa3c02720c
Implement bootstrap loading
2019-01-11 00:10:32 +01:00
Kamil Kokot
be8081d580
Allow to configure the application kernel's debug setting
2019-01-10 23:29:11 +01:00
Kamil Kokot
8dcd3e9d4d
Allow to configure the application kernel's custom environment
2019-01-10 23:25:19 +01:00
Kamil Kokot
7687e756f1
Implement kernel autodiscovering
2019-01-10 23:03:02 +01:00
Kamil Kokot
ab70d2993d
Test loading kernel based on classname and path
2019-01-10 22:47:17 +01:00
Kamil Kokot
727199bb8a
Rename kernel rebooter
2019-01-10 22:25:05 +01:00
Kamil Kokot
a9b3cdf4a9
Remove all not tested configuration options
2019-01-10 22:19:26 +01:00
Kamil Kokot
f613c43cf2
Refactor the extension file
2019-01-10 22:13:17 +01:00
Kamil Kokot
c5a94dfc0c
Remove untested "env_file" setting
2019-01-10 22:11:56 +01:00
Kamil Kokot
4405596ca1
Make PHPStan passing
2019-01-10 00:10:27 +01:00
Kamil Kokot
05f4fe789f
Apply coding standard fixes
2019-01-09 23:47:50 +01:00
Kamil Kokot
6061eaaf62
Test Mink integration
2019-01-09 23:47:24 +01:00