From 2d41238f206d787e09c6047cf4d959beacf6138e Mon Sep 17 00:00:00 2001 From: Ihor Roik <46721494+IiiigorGG@users.noreply.github.com> Date: Fri, 23 May 2025 13:22:17 +0200 Subject: [PATCH] Add recipe for macpaw/behat-redis-context bundle (#1803) * feat: add macpaw/behat-redis-context configuration * fix: add missing endline --- .../packages/test/behat_redis_context.yaml | 2 ++ macpaw/behat-redis-context/1.0/manifest.json | 18 ++++++++++++++++++ 2 files changed, 20 insertions(+) create mode 100644 macpaw/behat-redis-context/1.0/config/packages/test/behat_redis_context.yaml create mode 100644 macpaw/behat-redis-context/1.0/manifest.json diff --git a/macpaw/behat-redis-context/1.0/config/packages/test/behat_redis_context.yaml b/macpaw/behat-redis-context/1.0/config/packages/test/behat_redis_context.yaml new file mode 100644 index 00000000..7c850b05 --- /dev/null +++ b/macpaw/behat-redis-context/1.0/config/packages/test/behat_redis_context.yaml @@ -0,0 +1,2 @@ +behat_redis_context: + dataFixturesPath: "PATH_TO_FIXTURES_FOLDER" diff --git a/macpaw/behat-redis-context/1.0/manifest.json b/macpaw/behat-redis-context/1.0/manifest.json new file mode 100644 index 00000000..46f9ec04 --- /dev/null +++ b/macpaw/behat-redis-context/1.0/manifest.json @@ -0,0 +1,18 @@ +{ + "bundles": { + "BehatRedisContextBundle\\BehatRedisContextBundle": ["test"] + }, + "copy-from-recipe": { + "config/": "%CONFIG_DIR%/" + }, + "post-install-output": [ + "Read the documentation at https://github.com/MacPaw/behat-redis-context", + "BehatRedisContextBundle is registered in the test environment.", + "Add this to your behat.yml to finish setup:", + "...", + "contexts:", + " - BehatRedisContext\\Context\\RedisContext", + " - BehatRedisContext\\Context\\RedisFixturesContext", + "..." + ] +}