# Comprehensive testing with Distributional

When you start work with Distributional (dbnl), you should focus on creating and executing [Production tests](/v0.20.x/learning-about-distributional/defining-tests-in-distributional/automated-production-test-creation-and-execution.md) to ask and answer the question "Is my AI-powered app behaving as desired?"  As you gain more confidence using dbnl, the full pattern of standard dbnl usage looks as follows:

1. Execute Production testing at a regular interval (e.g., nightly) on recent app usages
2. Execute Deployment testing at a regular interval (e.g., weekly) on a fixed dataset
3. Review Production test sessions to start triage of any concerning app behavior
   1. This could be triggered by test failures, DBNL-automated guidance, or manual investigation
4. As concerning app behavior is identified, trigger Deployment tests to help diagnose any app component nonstationarity
   1. If nonstationarity is present, start Development testing on the affected 3rd party components
   2. If the components are stationary, start Development testing on the observed app examples which show unsatisfactory behavior
5. Once suitable app behavior is recorded in Development testing, record a new baseline for future Deployment testing on the fixed dataset
6. Push the new app version into production and update the Deployment + Production testing process


---

# 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://docs.dbnl.com/v0.20.x/learning-about-distributional/defining-tests-in-distributional/comprehensive-testing-with-distributional.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.
