# 2.8 Code Testing

{% tabs %}
{% tab title="✓  INSTRUCTIONS & DELIVERABLE" %}
Conduct some basic code testing to verify that the app is acting as expected under different conditions. Ensure that everything works as expected on different size screens and with touch or mouse interactions.&#x20;

Consider all the things a user might do with your chatbot--like common misspellings, sending an empty message, sending a seemingly random message, or maybe sending calls for help ("help", "reset",  "what?", etc.)

Make a simple checklist of conditions you will test to verify that your chatbot works as expected and handles some unintended (but somewhat foreseeable) user responses. Then one by one test each condition while playing the part of a visitor that is new to your chatbot.

**❏ Deliverable**\
A document outlining the checklist and results of your code testing.
{% endtab %}

{% tab title="★  RUBRIC" %}

| ✓- Below Standard                                                                                                     | ✓ At Standard                                                                                                                                     | ✓+ Above Standard                                                                                     |
| --------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------- |
| **The code testing documentation** has been completed but lacks detail or an accurate evaluation of the code quality. | The code testing is complete, accurately represents the state of the application's development, and is useful in identifying needed improvements. | The code testing is very thorough and goes beyond the standard testing items provided in the example. |
| {% endtab %}                                                                                                          |                                                                                                                                                   |                                                                                                       |
| {% endtabs %}                                                                                                         |                                                                                                                                                   |                                                                                                       |


---

# 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.idew.org/project-chatbot/project-instructions/2-design-and-build-solution/2.7-code-testing.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.
