Index

Print

 BDD Extension Framework for Unity Test Tools Documentation

Index

Support needed?

What is BDD?

Quick start

Install the right assets

Configure the layout

Unity Test Tools: base information

The inspector

The scene

How to run an Integration Test

BDD Extension Framework

The BDD Methods and the Step Methods

BDD Components: Static or Dynamic

Static BDD Methods signature

Dynamic BDD Methods signature

Error checking

The BDD Extension Runner options

The BDD Extension Framework in details: What are we going to learn

Getting started

Dynamic BDD Test: Creation of a GameObject

Unity Integration Test 01_Should_CreateTheObject_When_IPressTheCreateButton

Unity Integration Test 02_Should_DeleteTheObject_WhenIPressTheDeleteButton

Unity Integration Test 03_Should_NothingHasToChange_When_IPressTheCreateButtonASecondTime

Unity Integration Test 04_Should_GiveMeAWarning_WhenPressTheDeleteButtonWithoutAnObjectInScene

BDD in action: Having a look at CubeManager class

Test 01_Should_CreateTheObject_When_IPressTheCreateButton

Test 02_Should_DeleteTheObject_WhenIPressTheDeleteButton

Test 03_Should_NothingHasToChange_When_IPressTheCreateButtonASecondTime

Test 04_Should_GiveMeAWarning_WhenPressTheDeleteButtonWithoutAnObjectInScene

Static BDD Test: Creation of a GameObject

Methods Parameters Management

Headless running (batch mode)

BDD Extension Framework Guidelines

Behaviour Driven Development: how to organise the scenes

Behaviour Driven Development: how to organise the BDD Components

Behaviour Driven Development: Experimenting

BDD Framework: how to use it and avoid mistakes

BDD Framework: How to create you own dynamic test

BDD Framework: How to create you own static test

BDD Framework: How to avoid to lose information

BDD Framework: Error and problems handling

Components Errors:

Runner errors:

The BDD Extension Framework in detail: the code reference