Commit Graph

52 Commits

Author SHA1 Message Date
Kamil Kokot
019557e8e3 Try to run tests with Behat @ dev-master 2020-01-15 18:54:07 +01:00
Kamil Kokot
6d40a32f7c Add integration with FriendsOfBehat/PageObjectExtension 2020-01-13 19:45:44 +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
ab61dbaa39 Provide simple BrowserKit integration 2019-08-25 18:34:54 +02: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
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
d74cd251d5 Add more sanity checks 2019-02-12 23:42:41 +01:00
Kamil Kokot
9e9529c320 Add tests for context initializers 2019-02-12 23:06:19 +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
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
Łukasz Chruściel
bae9a26443 Merge pull request #45 from pamil/configuration-on-steroids
Configuration for kernel and bootstrap file & user-friendly autodiscovery
2019-01-11 13:41:48 +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
01f458149e Test default kernel configuration 2019-01-10 23:22:06 +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
3f7f9ccdbb Test loading kernel based on classname 2019-01-10 22:43:54 +01:00
Kamil Kokot
3c91f0af7d Test: Using context by its service id 2019-01-10 22:09:17 +01:00
Kamil Kokot
9ea3ac6f30 Reorganise feature files 2019-01-10 22:01:48 +01:00
Kamil Kokot
6061eaaf62 Test Mink integration 2019-01-09 23:47:24 +01:00
Kamil Kokot
c8b0cbb205 Test isolating contexts 2019-01-09 23:15:52 +01:00
Kamil Kokot
b4bcbb1233 Test autowired & autoconfigured contexts 2019-01-09 23:02:55 +01:00
Kamil Kokot
d5fcb25ef2 Test autowiring contexts 2019-01-09 22:53:39 +01:00
Kamil Kokot
9cede4d612 Test injecting services 2019-01-09 22:40:32 +01:00
Kamil Kokot
d4efe9a6df Simplify services definition in Behat 2019-01-09 22:37:18 +01:00
Kamil Kokot
11f5a326b3 Test injecting parameters 2019-01-09 22:35:57 +01:00
Kamil Kokot
7250dfca76 Get bare Behat scenario running 2019-01-09 22:29:50 +01:00
Bartosz Pietrzak
742d3358b5 Injected parameter test POC 2019-01-09 19:23:39 +01:00
Kamil Kokot
9c41bdbcba Compress scenario 2018-12-31 17:25:05 +01:00
Kamil Kokot
463c274dbc Create minimal passing scenario 2018-12-31 16:54:12 +01:00
Kamil Kokot
50fc509fb3 SymfonyExtension v2.0: proof of concept 2018-12-28 13:08:51 +01:00
Adrian Zmenda
149d41087f Add symfony 4 configuration loading when bootstrap is null; tweaked formatting, naming, tests and readme 2018-12-09 15:51:11 +01:00
Adrian Zmenda
09c6530115 Add autoconfiguration for Symfony 4, allow overriding .env setting by using explicit env and debug settings, tweaks 2018-12-09 15:43:50 +01:00
Olivier Soulet
10de8e65d3 Fix #39 2018-10-29 20:51:15 +01:00
Mateusz Zalewski
de853c0fe3 Use dist env file by default 2018-09-20 11:52:20 +02:00
Arnaud Langlade
1a39d31f5e Fix review feedback 2018-03-13 15:34:12 +01:00
Arnaud Langlade
b1059a520c Symfony4 support 2018-03-03 22:23:11 +01:00