Wednesday 18th September 2019,

BBT Tool and Framework

Everett Khim October 14, 2014 BBT - Behavior Based Testing, BBT - How To No Comments


Behavior Based Testing framework is an idea with business, developers, and QAs in mind. An approach that does not require heavy knowledge in programming to cover a small area of testing, rather than, a simple approach into generating a full test coverage without any technical skills.

The core of Behavior Based Testing is a set of business requirements, a specification of the functionality or behavior of a unit. Requirements, or outcomes are what drives Behavior Based Testing to generate full coverage of specified requirements without the knowledge of a programming language.


What is the BBT framework?

The Behavior Based Testing framework provides the visibility of test coverage when generating all possible permutations for requirements. Using the BBT tool  will provide you with additional reporting and the framework to execute and schedule test suites.

BBT Graphing Tool


As mentioned, the graphing tool BBT provides allows us to quickly create the behavior of a system, in this example, we are graphing the behavior of a web service in which passing these parameters will return a 200 status code and a response of a top 10 artist will be recommended. By graphing the positive flow, BBT tool will generate all permutations of test coverage for this behavior. See my blog on Test Case Optimization for generating test coverage manually.

How to graph on BBT:

Creating contexts and/or outcomes:

Utilizing the BBT tool, we can create outcomes and contexts in our graph by selecting the grid or the two buttons located in the tool bar. Within the pop-up, we will define the node type (contexts or outcome) as well as provide it the needed information regarding the node.

Adding in Event:

In order to generate valid test coverage, we add an event to determine the relations between the contexts and outcomes. To add an event, we select the event button located right of context/outcome button in the tool bar. This will display a pop-up allowing us to create a relation between context and outcome.

Once identifying the relationship between our contexts and outcomes, we are now able to generate the coverage for this behavior by hovering over File -> Generate.

For the following graph:

We generated two positive test cases:


and 256 negative test cases which is generated by BBT engine all with one graph:

                BBT Reporting Tool

BBT tool provides reporting for each run via email in PDF format or metrics of automation coverage and executions.

                BBT Scheduling tool


BBT tool allows us to manage and schedule test suites for all generated test cases.

You can see this for yourself. Go to the BBT Portal at

Like this Article? Share it!

About The Author

Comments are closed.