# Utility for testing plugins

**URL:** <https://forum.getkirby.com/t/utility-for-testing-plugins/15166>\
**Category:** Plugins\
**Tags:** v3\
**Created:** [August 6, 2019, 5:39am UTC](https://forum.getkirby.com/t/utility-for-testing-plugins/15166 "2019-08-06T05:39:53Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![hdodov](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.getkirby.com/hdodov/32/8171_2.png) [@hdodov](https://forum.getkirby.com/u/hdodov)\
**Post date:** [August 6, 2019, 5:39am UTC](https://forum.getkirby.com/t/utility-for-testing-plugins/15166/1 "2019-08-06T05:39:53Z")

</div>

Hello!

After writing my [cookbook recipe](https://getkirby.com/docs/cookbook/setup/plugin-workflow) for testing plugins, I decided to create a utility package that simplifies the process.

You simply install the package in your Kirby installation where you develop your plugins and the utility allows you to easily change the Kirby roots. You can have a `tests` folder in each plugin with a `roots` folder inside that changes all necessary roots accordingly, while the base installation roots can be used as global/default roots.

I’m using it for my plugins and it’s pretty useful. You can even modify each plugin’s content in the Panel since root rewriting works there as well. It works with PHPUnit too.

Check it:

[https://github.com/OblikStudio/kirby-tester](https://github.com/OblikStudio/kirby-tester)

---

<div class="post-metadata">

**Author:** ![bastianallgeier](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.getkirby.com/bastianallgeier/32/7569_2.png) [@bastianallgeier](https://forum.getkirby.com/u/bastianallgeier)\
**Post date:** [September 3, 2019, 7:46am UTC](https://forum.getkirby.com/t/utility-for-testing-plugins/15166/2 "2019-09-03T07:46:21Z")

</div>

I just added it to the directory.
