# Testing your Theme

Two important aspects for developing a good theme are how quickly you can see your changes on the screen and how easy it is to replicate a production environment locally.

Keycloakify provides two ways to test your theme:

## Testing Outside of Keycloak

Keycloakify enables you to test your theme without requiring a real Keycloak instance to be involves.

This approach let you preview the pages in different configurations using mock data.

This is great for getting realtime feedback when designing your page and having a quick overview of how your theme looks like as a whole.

{% content-ref url="/pages/7kM4kxp8FfS4h1K1nTjm" %}
[Outside of Keycloak](/testing-your-theme/outside-of-keycloak.md)
{% endcontent-ref %}

## Testing Inside of Keycloak

Previewing your theme with mocks is great but at some point you have to make sure that everything works as expected in real environement.

Keycloakify let you with a simple command spin up a preconfigured Keyclaok instance in a Docker container to test your theme in real conditions.

{% content-ref url="/pages/dpKxSonD9QiLaSSFR2uX" %}
[Inside of Keycloak](/testing-your-theme/inside-of-keycloak.md)
{% endcontent-ref %}


---

# 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.keycloakify.dev/testing-your-theme.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.
