Download the PHP package webship/cucumber without Composer

On this page you can find all versions of the php package webship/cucumber. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package cucumber

Cucumber

A Drupal installation profile for managing automated functional acceptance testing: features written as Gherkin scripts, organised in directories, with dashboards for each team role.

Table of contents

Features

Requirements

Drupal core ^11.4 || ^12. Drupal 11.4 on PHP 8.4 is the tested default. Every library comes from a Composer package, so no asset-packagist, npm-asset or bower-asset repository is needed.

Cucumber depends on three contributed projects that have not reached a stable release yet:

Composer only honours stability flags such as @beta, @rc and @alpha in the root composer.json, so a flag written inside a dependency is ignored. That is why the project root has to relax the stability itself. drupal/cucumber_project already does it; if you add Cucumber to a composer.json of your own, it needs:

prefer-stable keeps every other package on its stable release: a full Cucumber install locks 9 non-stable packages out of 186.

Installation

With the project template (recommended)

Start from the Cucumber Project template. It requires this distribution and relaxes the stability flags for you, so there is nothing else to configure. Composer, PHP, Drush and the database all run inside DDEV:

ddev restart picks up the .ddev/config.yaml the template ships (PHP 8.3, Node.js 22, MariaDB 10.11), which replaces the one ddev config wrote. The site is at https://<directory>.ddev.site.

On an existing DDEV project

Add the distribution to a Drupal project of your own, then install its profile:

The root composer.json has to relax the stability first, as described under Requirements — otherwise Composer refuses the non-stable dependencies.

The installer asks which user roles, recipes and demo to add. The defaults install the Admin role and all three recipes, with no demo. To answer in a browser instead, run ddev launch and follow the installer.

Without DDEV

The same two paths work with a Composer, PHP and database stack of your own:

Drush lives at bin/drush, not vendor/bin/drush: the profile sets the Composer bin-dir to bin/.

Usage

The site asks everybody to sign in: a visitor who is not signed in is sent to /user/login, and lands on a dashboard after signing in.

Log in and create a "Feature" media item at media/add/feature: paste or upload a Gherkin script and file it in a feature directory. The front page is the default dashboard; features are listed at features. A feature goes through the automated testing workflow: To Do, In Progress, Implemented and Published, with Draft as the way back.

The Admin role and the optional user roles write features and take the steps of the workflow that fit their work. The theme of the site, front and back, is UIkit Admin: its navigation shows every signed-in person the Features, Products, Components and Projects links the role may follow, and a Log out link.

Testing

A webship-js suite (Playwright and Cucumber-js) lives in tests/. See tests/README.md.


All versions of cucumber with dependencies

PHP Build Version
Package Version
Requires composer/installers Version ~2
drupal/core-composer-scaffold Version ^11.4 || ^12
drupal/core Version ^11.4 || ^12
drush/drush Version ^13 || ^14
drupal/webpatches Version ~12.0
drupal/cucumber_core Version ^12.0.8
drupal/cucumber_default_content Version ~12.0
drupal/cucumber_user_roles Version ^12.0.5
drupal/cucumber_recipes Version ^12.0.5
drupal/cucumber_demos Version ~12.0
drupal/uikit_admin Version ~4.0
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package webship/cucumber contains the following files

Loading the files please wait ...