# Testing Styles

TestBox comes with two flavors of testing: [BDD](http://en.wikipedia.org/wiki/Behavior-driven_development) and [xUnit](http://en.wikipedia.org/wiki/XUnit).

## BDD

BDD stands for **behavior driven development** and is highly based on creating specifications and expectations of results in a readable DSL (Domain Specifc Language).

## xUnit

xUnit style of testing is the more traditional TDD or **test driven development** approach where you are creating a test case CFC that matches the software under test and for each method in the SUT you create a test method in the test case CFC. We cover these two topics in our primers chapter (Chapter 3).

No matter what testing style you pick you, TestBox will execute the tests for you and then send your results to a reporter that can produce awesome testing reports for you.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://testbox.ortusbooks.com/v2.x-1/in-depth/testing-styles.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
