What is common and different between Behavior Driven Development [BDD] & integration testing?

General Chicken answers a question from Quora.

General Chicken answers a question from Quora.

Read John Dee's answer to What is common and different between Behavior Driven Development [BDD] & integration testing? on Quora

Behavior Driven Development from the Business Stakeholder’s Point of View

BDD is the best way to communicate business requirements from stakeholders to developers. General Chicken explains what BDD is from a business POV.

WordPress plugin: Randomize Main Loop Order

This is a plugin I made in response to a Quora post.

I made a plugin for this, in response to this Quora question.

Randomize Main Loop Order

Plugin on Github: JohnDeeBDD/WP-Random-Order-Main-Loop

Just download the .zip from github, then upload it to your site. Let me know if there are any issues.

Read John Dee's answer to Is there a WordPress plugin that will re-arrange my website posts constantly? on Quora

Code on github.com
Code on github.com

Business Stakeholders: How to Describe a Software FEATURE

A feature from the biz perspective

What is a feature?
A feature is an aspect of software that is useful. Anything you can express, that is possible, and that you can afford, can be a feature. A bug is an aspect of software that isn’t useful.

Since we’re talking about development, we’re discussing software features that don’t exist yet. These are features that we would like to build, or existing features that we would like to make better. Describe a feature with should statements:

  • It should email all the clients once a month.
  • The client should have a setting page in the admin area.
  • The plugin should have a custom post type called GPS coordinates for each subscriber.
  • The div should show a timeline of Civil War battles in the footer area.

The next statement you should create is the reason for the feature you are requesting. What is the business value of this feature? Describe the reason by using a “Because”, or “So that”  or “In or that”

  • So that the clients are routinely updated.
  • In order that the user can change the settings.
  • Because we need to store the GPS data.

Alternatively, you can use Gherkin syntax for feature development.