GithubHelp home page GithubHelp logo

doobie's Introduction

CONTENTS OF THIS FILE

  • Introduction
  • Installation
  • Running tests
  • Creating features and scenarios

INTRODUCTION

Doobie is the home of Drupal.org Behavior Driven Development.

It's a collection of tests to verify the functionality of Drupal.org for pre- deployment purposes. They are written in plain English as "Features" with "Scenarios" beneath them, the outline how a piece of functionality is supposed to work. Those English descriptions can then generate skeleton code for real functionality testing.

For more background on Behat, see http://docs.behat.org

INSTALLATION

Doobie requires a Linux-based system.

Helpful installation instructions are included on the project page: http://drupal.org/project/doobie

When installation is complete, copy the default.behat.yml file to behat.yml and adjust the base url as needed.

RUNNING TESTS

To run tests, change into the doobie project directory and run:

bin/behat

This will cycle through all of the available features and scenarios and output their results.

See http://docs.behat.org/guides/6.cli.html for other, fancier ways to run tests.

FEATURES AND SCENARIOS

Human-readable features and scenarios are available in the features/ directory. The actual code for each can be found in the 'bootstrap' directory within.

A tutorial on how to write features, scenarios, and tests can be found at http://docs.behat.org/guides/1.gherkin.html

doobie's People

Contributors

eliza411 avatar jhedstrom avatar tizzo avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.