Behat Messenger Context

Overview

Behat Messenger Context

Version Build Status Code Coverage
master CI Coverage Status
develop CI Coverage Status

Installation

Step 1: Install Context

Open a command console, enter your project directory and execute:

$ composer require --dev macpaw/behat-messenger-context

Step 2: Update Container config to load Messenger Context

In the config/services_test.yaml file of your project:

    BehatMessengerContext\:
        resource: '../vendor/macpaw/behat-messenger-context/src/*'
        arguments:
            - '@test.service_container'

Step 3: Configure Messenger

Copying config/packages/dev/messenger.yaml and pasting that into config/packages/test/. This gives us messenger configuration that will only be used in the test environment. Uncomment the code, and replace sync with in-memory. Do that for both of the transports.

framework:
    messenger:
        transports:
            async: 'in-memory://'
            async_priority_high: 'in-memory://'
            ...
...

Step 4: Configure Behat

Go to behat.yml

...
  contexts:
    - BehatMessengerContext\Context\MessengerContext
...
You might also like...
Behat extension for those who want to write acceptances tests for apis

Behapi Behat extension to help write describe features related to HTTP APIs. PHP 7.3, Behat 3.7 and a discoverable php-http client are required to mak

Behat is a BDD framework for PHP to help you test business expectations.
Behat is a BDD framework for PHP to help you test business expectations.

Behat is a BDD framework for PHP to help you test business expectations. Installing Behat The easiest way to install Behat is by using Composer: $ co

Generator-hedley - Scaffold a headless Drupal backend, Angular app client, and Behat tests

generator-hedley Scaffold a headless Drupal backend, Angular app client, and Behat tests Hedley is a yeoman generator that scaffolds a headless Drupal

Behat for Magento

BehatMage Behat extension for Magento, providing Behat context with specific Magento requirements allowing you to quickly define Magento scenarios and

Extension to use built-in PHP server on Behat tests

Extension to use built-in PHP server on Behat tests Instalation composer require libresign/behat-builtin-extension Configuration Add the extension to

Provides a Middleware to integration Tideways into Symfony Messenger Processing

Tideways Middleware for Symfony Messenger This package is currently under development and might be moved into the Tideways PHP Extension or stay indep

Mibew Messenger - open-source live support application written in PHP and MySQL

Mibew Messenger is an open-source live support application written in PHP and MySQL. It enables one-on-one chat assistance in real-time directly from your website.

You have just downloaded "Messenger-app" [A lightweight, minimalistic real-time chat application]

MESSENGER-APP You have just downloaded "Messenger-app" [A lightweight, minimalistic real-time chat application] Setup To get it working, follow these

Simple project to send bulk comma-separated emails using laravel and messenger module from quick admin panel generator.

About Laravel Laravel is a web application framework with expressive, elegant syntax. We believe development must be an enjoyable and creative experie

Live Helper Chat - live support for your website. Featuring web and mobile apps, Voice & Video & ScreenShare. Supports Telegram, Twilio (whatsapp), Facebook messenger including building a bot.

Live helper chat It's an open-source powered application, which brings simplicity and usability in one place. With live helper chat you can bring live

Bridge to use Symfony Messenger on AWS Lambda with Bref

Bridge to use Symfony Messenger on AWS Lambda with Bref. This bridge allows messages to be dispatched to SQS, SNS or EventBridge, while workers handle

Messenger mailer bundle

messenger-mailer-bundle About Install Usage Contributing About You might need to bundle if your project fulfills the following criteria: You are using

Comments
  • Add possibility to define placeholder for regexp

    Add possibility to define placeholder for regexp

    Hello!

    I implemented possibility to define placeholders for regexp patterns in config file and then use them in tests instead of copy-pasting long patterns in each feature file and scenario.

    Please take a look and share your feedback :)

    opened by greeflas 2
  • chore(deps): bump semver-regex from 3.1.2 to 3.1.3

    chore(deps): bump semver-regex from 3.1.2 to 3.1.3

    Bumps semver-regex from 3.1.2 to 3.1.3.

    Commits

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    • @dependabot use these labels will set the current labels as the default for future PRs for this repo and language
    • @dependabot use these reviewers will set the current reviewers as the default for future PRs for this repo and language
    • @dependabot use these assignees will set the current assignees as the default for future PRs for this repo and language
    • @dependabot use this milestone will set the current milestone as the default for future PRs for this repo and language

    You can disable automated security fix PRs for this repo from the Security Alerts page.

    dependencies 
    opened by dependabot[bot] 1
  • Fix unknown modifier error

    Fix unknown modifier error

    Hi!

    I found one more error with some regexp patterns

    Warning: preg_match(): Unknown modifier '1'

    For the reference: https://stackoverflow.com/a/20705419/13197346

    opened by greeflas 1
Releases(v2.0.1)
  • v2.0.1(Jan 17, 2022)

    What's Changed

    • feat: update readme by @Yozhef in https://github.com/MacPaw/BehatMessengerContext/pull/32
    • Release by @Yozhef in https://github.com/MacPaw/BehatMessengerContext/pull/33

    Full Changelog: https://github.com/MacPaw/BehatMessengerContext/compare/v2.0.0...v2.0.1

    Source code(tar.gz)
    Source code(zip)
  • v2.0.0(Jan 17, 2022)

    What's Changed

    • feat: change array similar trait to library by @Yozhef in https://github.com/MacPaw/BehatMessengerContext/pull/28
    • feat: remove automatical release by @Yozhef in https://github.com/MacPaw/BehatMessengerContext/pull/29
    • feat: update ci process for new deps by @Yozhef in https://github.com/MacPaw/BehatMessengerContext/pull/30
    • feat: rewrite as bundle by @IiiigorGG in https://github.com/MacPaw/BehatMessengerContext/pull/27
    • Release by @Yozhef in https://github.com/MacPaw/BehatMessengerContext/pull/31

    Full Changelog: https://github.com/MacPaw/BehatMessengerContext/compare/v1.3.0...v2.0.0

    Source code(tar.gz)
    Source code(zip)
  • v1.3.0(Dec 24, 2021)

    What's Changed

    • Create CODE_OF_CONDUCT.md by @Yozhef in https://github.com/MacPaw/BehatMessengerContext/pull/23
    • Create SECURITY.md by @Yozhef in https://github.com/MacPaw/BehatMessengerContext/pull/24
    • chore(deps): bump semver-regex from 3.1.2 to 3.1.3 by @dependabot in https://github.com/MacPaw/BehatMessengerContext/pull/26
    • Release by @Yozhef in https://github.com/MacPaw/BehatMessengerContext/pull/25

    New Contributors

    • @dependabot made their first contribution in https://github.com/MacPaw/BehatMessengerContext/pull/26

    Full Changelog: https://github.com/MacPaw/BehatMessengerContext/compare/v1.2.0...v1.3.0

    Source code(tar.gz)
    Source code(zip)
  • v1.2.0(Dec 6, 2021)

  • v1.1.0(Sep 8, 2021)

  • v1.0.1(Aug 26, 2021)

  • v1.0.0(Aug 16, 2021)

    1.0.0 (2021-08-16)

    Features

    Bug Fixes

    Source code(tar.gz)
    Source code(zip)
Owner
MacPaw Inc.
Make Useful Unboring
MacPaw Inc.
TPI - News website done is the context of my CS studies

tpi-news-website TPI - News website done is the context of my CS studies IceScrum Software Used Documentation Text editing Microsoft Office 365 suite

Louis Richard 0 Sep 29, 2022
Behat for Magento

BehatMage Behat extension for Magento, providing Behat context with specific Magento requirements allowing you to quickly define Magento scenarios and

MageTest 88 Jul 6, 2022
You have just downloaded "Messenger-app" [A lightweight, minimalistic real-time chat application]

MESSENGER-APP You have just downloaded "Messenger-app" [A lightweight, minimalistic real-time chat application] Setup To get it working, follow these

Chr1st0ph3r SAB 1 Oct 29, 2021
Bridge to use Symfony Messenger on AWS Lambda with Bref

Bridge to use Symfony Messenger on AWS Lambda with Bref. This bridge allows messages to be dispatched to SQS, SNS or EventBridge, while workers handle

bref 58 Nov 15, 2022
Behat Transliterator library inherited from Doctrine1 and used in Behat for snippet generation

Behat Transliterator Behat Transliterator provides transliteration utilities for PHP. Transliteration data are ported from the Perl Text-Unidecode mod

Behat 2k Dec 22, 2022
Laravel messenger. A full messenger suite for your new / existing laravel app

Laravel messenger. A full messenger suite for your new / existing laravel app! Private and group threads between multiple models, with real-time messaging, reactions, attachments, calling, chat bots, and more!

Richard  Tippin 290 Dec 30, 2022
Platform for Citizen Engagement, Smart Communities, Smart Cities in the context of the Sustainable Development Goals 🏙️👩‍💻👨‍💼🙋‍♀️🙋‍♂️🦾🤖

Civikmind Plataforma Libre y de código abierto para la Participación Ciudadana, Veeduría Ciudadana, Gestión de Comunidades Inteligentes, Ciudades Inte

Smart Cities Community 29 Dec 8, 2022
Sylius plugin to define a command cli context (ChannelContext)

Cli Context Plugin This plugin provide a default channel context for your Symfony Command. When Sylius load a resource implements Sylius\Component\Res

null 4 Dec 15, 2022
Provides the equivalent of request ( Context ) and response ( Stdio ) objects for the command line interface

Provides the equivalent of request ( Context ) and response ( Stdio ) objects for the command line interface, including Getopt support, and an independent Help object for describing commands.

Aura for PHP 103 Sep 28, 2022
TPI - News website done is the context of my CS studies

tpi-news-website TPI - News website done is the context of my CS studies IceScrum Software Used Documentation Text editing Microsoft Office 365 suite

Louis Richard 0 Sep 29, 2022