PHPackages                             alexandresalome/behat-launcher - 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. alexandresalome/behat-launcher

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

alexandresalome/behat-launcher
==============================

Launch Behat tests from your browser

63147[1 PRs](https://github.com/alexandresalome/behat-launcher/pulls)PHP

Since Mar 10Pushed 10y ago6 watchersCompare

[ Source](https://github.com/alexandresalome/behat-launcher)[ Packagist](https://packagist.org/packages/alexandresalome/behat-launcher)[ RSS](/packages/alexandresalome-behat-launcher/feed)WikiDiscussions master Synced 2mo ago

READMEChangelogDependenciesVersions (3)Used By (0)

Behat Launcher
==============

[](#behat-launcher)

[![Build status](https://camo.githubusercontent.com/5b865fc82054bcf3cc777090fdaba102bb559ffeb10f6f136d428e230cb9b2ac/68747470733a2f2f7472617669732d63692e6f72672f616c6578616e64726573616c6f6d652f62656861742d6c61756e636865722e706e67)](https://travis-ci.org/alexandresalome/behat-launcher) [![Latest stable version](https://camo.githubusercontent.com/0a7ae415befe8a1024b424be611da2914beba1a3512a1b5ff1ef22c628a2cb93/68747470733a2f2f706f7365722e707567782e6f72672f616c6578616e64726573616c6f6d652f62656861742d6c61756e636865722f762f737461626c652e706e67)](https://packagist.org/packages/alexandresalome/behat-launcher)

An application to **launch your Behat tests from your browser**:

[![src/Alex/BehatLauncher/Resources/demo.png](src/Alex/BehatLauncher/Resources/demo.png)](src/Alex/BehatLauncher/Resources/demo.png)

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

[](#installation)

To install Behat-Launcher, you will need:

- PHP 5.4
- Apache2 or Nginx or anything that can run a PHP application
- A MySQL database
- NodeJS and npm to install Bower and Grunt

**1. Get the code**

Go to folder where you want to install Behat-Launcher and clone the sourcecode through git command:

```
cd /var/www
git clone git@github.com:alexandresalome/behat-launcher.git
cd behat-launcher
```

**2. Install dependencies**

Behat-Launcher works with [composer](http://getcomposer.org), a tool to manage dependencies.

Download it in behat-launcher folder:

```
cd /var/www/behat-launcher
curl http://getcomposer.org/installer | php
php composer.phar install
```

This command will download dependencies in **vendor/** folder to make them available to the application.

Next you will need to install the assets using Bower and Grunt.

You can install these tools using npm, the NodeJS package manager:

```
npm install -g bower
npm install -g grunt-cli
```

You can now install the assets:

```
bower install
npm install
grunt
```

**3. Configuration**

In this folder, create a file **config.php** where you will configure your database and your projects.

You can use the **config.php.dist** file to get an exhaustive list of configuration features.

```
cd /var/www/behat-launcher
cp config.php.dist config.php
vi config.php # (or notepad, or whatever you use to edit this file)
```

**4. Database**

When you're done, initialize your database:

```
php behat-launcher init-db
```

**5. WebServer**

Now, configure your web server to make the application accessible through your webserver. Make it serve the **web** folder:

```
DocumentRoot /var/www/behat-launcher/web
```

Make sure web server has write access to *data/* folder.

**6. Background job**

To run tests, Behat-Launcher needs to run jobs in background. Start it using:

```
cd /var/www/behat-launcher
php behat-launcher run
```

**If you are using Linux**, take a look at [this gist](https://gist.github.com/OwlyCode/9661213) to daemonize it.

This command will execute until you stop it. If you want command to stop after all units are ran, pass the **--stop-on-finish** option:

```
cd /var/www/behat-launcher
php behat-launcher run --stop-on-finish
```

You're done! Access your application through web server. Given you use Apache and only have this application set up, access

Changelog
---------

[](#changelog)

**v0.1**

- Restart one test, all tests or failed only
- Run multiple tests concurrently
- Relaunch whole run or just failed, or stop execution
- Override behat.yml configuration values
- Record additional formats (html, failed, progress, ...)
- View output while process is running

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity20

Limited adoption so far

Community15

Small or concentrated contributor base

Maturity44

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 83.3% of commits — single point of failure

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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/2c6be58ec4620ddbcc6f95bf7353365dc7ff796c004c70369333aee6125eb309?d=identicon)[alexandresalome](/maintainers/alexandresalome)

---

Top Contributors

[![mnapoli](https://avatars.githubusercontent.com/u/720328?v=4)](https://github.com/mnapoli "mnapoli (5 commits)")[![antfroger](https://avatars.githubusercontent.com/u/3509631?v=4)](https://github.com/antfroger "antfroger (1 commits)")

### Embed Badge

![Health badge](/badges/alexandresalome-behat-launcher/health.svg)

```
[![Health](https://phpackages.com/badges/alexandresalome-behat-launcher/health.svg)](https://phpackages.com/packages/alexandresalome-behat-launcher)
```

###  Alternatives

[phpspec/prophecy

Highly opinionated mocking framework for PHP 5.3+

8.5k551.7M682](/packages/phpspec-prophecy)[vimeo/psalm

A static analysis tool for finding errors in PHP applications

5.8k77.5M6.7k](/packages/vimeo-psalm)[brianium/paratest

Parallel testing for PHP

2.5k118.8M754](/packages/brianium-paratest)[beberlei/assert

Thin assertion library for input validation in business models.

2.4k96.9M570](/packages/beberlei-assert)[mikey179/vfsstream

Virtual file system to mock the real file system in unit tests.

1.4k108.0M2.7k](/packages/mikey179-vfsstream)[orchestra/testbench

Laravel Testing Helper for Packages Development

2.2k39.1M32.1k](/packages/orchestra-testbench)

PHPackages © 2026

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