# How do I test my Guild file?

**URL:** https://guildai.org/t/how-do-i-test-my-guild-file/434
**Category:** Troubleshooting
**Created:** [October 27, 2020, 6:15pm UTC](https://guildai.org/t/how-do-i-test-my-guild-file/434 "2020-10-27T18:15:45Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![copah](https://avatars.discourse-cdn.com/v4/letter/c/9fc29f/32.png) [@copah](https://guildai.org/u/copah)
#### Post date: [October 27, 2020, 6:15pm UTC](https://guildai.org/t/how-do-i-test-my-guild-file/434/1 "2020-10-27T18:15:45Z")

</div>

I know guild has support for some testing and checks of the guild file setup. I just can’t find the documentation for it.

Ideally I would like to have some unit tests running that tests that the `guild.yml` is correctly setup and that some of the `operations` and `models` works as expected.

---

<div class="post-metadata">

### Author: ![garrett](https://yyz1.discourse-cdn.com/flex031/user_avatar/guildai.org/garrett/32/224_2.png) [@garrett](https://guildai.org/u/garrett)
#### Post date: [October 28, 2020, 2:27pm UTC](https://guildai.org/t/how-do-i-test-my-guild-file/434/2 "2020-10-28T14:27:04Z")

</div>

You’re right - the docs are missing for this. I created a hot-to article.

> [@Test your Guild file](https://guildai.org/t/test-your-guild-file/437):
>
> You can test your Guild file by creating an operation that uses steps to run the operations you’d like to test. Steps support various [checks](https://guildai.org/t/guild-file-reference/197#step-check) that Guild performs to validate run output. When testing your operations, it’s a good idea to use flag values to keep run time to a minimum. In some cases you may want to modify your scripts to support flags that indicate “test mode” or “run quickly” mode. When creating test operations, you can an underscore prefix with the operation name to indicate the …
