PHPackages                             bex/behat-screenshot-image-driver-dummy - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Testing &amp; Quality](/categories/testing)
4. /
5. bex/behat-screenshot-image-driver-dummy

ActiveLibrary[Testing &amp; Quality](/categories/testing)

bex/behat-screenshot-image-driver-dummy
=======================================

dummy image driver for bex/behat-screenshot behat extension

1.0.1(10y ago)11.2k↓70%11MITPHPPHP &gt;=5.4

Since Nov 14Pushed 10y agoCompare

[ Source](https://github.com/tkotosz/behat-screenshot-image-driver-dummy)[ Packagist](https://packagist.org/packages/bex/behat-screenshot-image-driver-dummy)[ Docs](https://github.com/tkotosz/behat-screenshot-image-driver-dummy)[ RSS](/packages/bex-behat-screenshot-image-driver-dummy/feed)WikiDiscussions master Synced 3w ago

READMEChangelog (2)Dependencies (5)Versions (3)Used By (1)

Dummy image driver for Behat-ScreenshotExtension
================================================

[](#dummy-image-driver-for-behat-screenshotextension)

[![Scrutinizer Code Quality](https://camo.githubusercontent.com/ce74291cf5a584dcac2cbfd8216fa538d81bd4b55cd3d14887ad27b61ed1683d/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f746b6f746f737a2f62656861742d73637265656e73686f742d696d6167652d6472697665722d64756d6d792f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/tkotosz/behat-screenshot-image-driver-dummy/?branch=master)[![Build Status](https://camo.githubusercontent.com/c32a6eef67ec5c3bf76a00377fbbd2804b2b3ef311cfcc8229a6291f60ac51ae/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f746b6f746f737a2f62656861742d73637265656e73686f742d696d6167652d6472697665722d64756d6d792f6261646765732f6275696c642e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/tkotosz/behat-screenshot-image-driver-dummy/build-status/master)[![Build Status](https://camo.githubusercontent.com/3949a6cb60439d77157bc5c2d933bac07e9f71454bdc4d6d98dcd25421fee3ef/68747470733a2f2f7472617669732d63692e6f72672f746b6f746f737a2f62656861742d73637265656e73686f742d696d6167652d6472697665722d64756d6d792e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/tkotosz/behat-screenshot-image-driver-dummy)

This package is an image driver for the [bex/behat-screenshot](https://github.com/elvetemedve/behat-screenshot) behat extension which is just an example to show how an image driver should look like. So it only returns a dummy image url.

Installation
------------

[](#installation)

Install by adding to your `composer.json`:

```
composer require --dev bex/behat-screenshot-image-driver-dummy
```

Configuration
-------------

[](#configuration)

Enable the image driver in the Behat-ScreenshotExtension's config in `behat.yml` like this:

```
default:
  extensions:
    Bex\Behat\ScreenshotExtension:
      active_image_drivers: dummy
```

Usage
-----

[](#usage)

When you run behat and a step fails then the Behat-ScreenshotExtension will automatically take the screenshot and will pass it to the image driver, which will return the dummy image url. So you will see something like this:

```
  Scenario:                           # features/feature.feature:2
    Given I have a step               # FeatureContext::passingStep()
    When I have a failing step        # FeatureContext::failingStep()
      Error (Exception)
Screenshot has been taken. Open image at http://docs.behat.org/en/v2.5/_static/img/logo.png
    Then I should have a skipped step # FeatureContext::skippedStep()
```

###  Health Score

30

—

LowBetter than 62% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity21

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity59

Maturing project, gaining track record

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~9 days

Total

2

Last Release

3868d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/4903365?v=4)[Tibor Kotosz](/maintainers/tkotosz)[@tkotosz](https://github.com/tkotosz)

---

Tags

BDDTDDBehatbehat-screenshot

### Embed Badge

![Health badge](/badges/bex-behat-screenshot-image-driver-dummy/health.svg)

```
[![Health](https://phpackages.com/badges/bex-behat-screenshot-image-driver-dummy/health.svg)](https://phpackages.com/packages/bex-behat-screenshot-image-driver-dummy)
```

###  Alternatives

[mockery/mockery

Mockery is a simple yet flexible PHP mock object framework

10.7k516.1M26.1k](/packages/mockery-mockery)[codeception/codeception

All-in-one PHP Testing Framework

4.9k88.9M3.2k](/packages/codeception-codeception)[orchestra/testbench

Laravel Testing Helper for Packages Development

2.2k41.3M38.8k](/packages/orchestra-testbench)[polishsymfonycommunity/symfony-mocker-container

Provides base Symfony dependency injection container enabling service mocking.

1448.1M254](/packages/polishsymfonycommunity-symfony-mocker-container)[orchestra/testbench-core

Testing Helper for Laravel Development

27146.5M362](/packages/orchestra-testbench-core)[ezsystems/behat-screenshot-image-driver-cloudinary

Cloudinary image driver for bex/behat-screenshot behat extension

281.0M17](/packages/ezsystems-behat-screenshot-image-driver-cloudinary)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
