# Test cases for the plugin

**URL:** https://forum.shopware.com/t/test-cases-for-the-plugin/60252
**Category:** Plugins
**Created:** [2. Juli 2019 um 12:40 UTC](https://forum.shopware.com/t/test-cases-for-the-plugin/60252 "2019-07-02T12:40:12Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![abinjohnedamana](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/abinjohnedamana/32/17378_2.png) [@abinjohnedamana](https://forum.shopware.com/u/abinjohnedamana)
#### Post date: [2. Juli 2019 um 12:40 UTC](https://forum.shopware.com/t/test-cases-for-the-plugin/60252/1 "2019-07-02T12:40:12Z")

</div>

Is test cases are mandatory for community plugins?

If yes. how we can write test cases?

If there is any documentation please give me a link.

---

<div class="post-metadata">

### Author: ![Michael\_Telgmann](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/michael_telgmann/32/20289_2.png) [@Michael\_Telgmann](https://forum.shopware.com/u/Michael_Telgmann)
#### Post date: [18. Juli 2019 um 09:24 UTC](https://forum.shopware.com/t/test-cases-for-the-plugin/60252/2 "2019-07-18T09:24:41Z")

</div>

Hello,

here you can find information about how to set up a test suite:&nbsp;[https://developers.shopware.com/developers-guide/plugin-testing](https://developers.shopware.com/developers-guide/plugin-testing)  
Here is how we do it in our PayPal integration:&nbsp;[SwagPaymentPayPalUnified/Tests at master · shopwareLabs/SwagPaymentPayPalUnified · GitHub](https://github.com/shopwareLabs/SwagPaymentPayPalUnified/tree/master/Tests)

Best regards from Schöppingen

![cool](http://forum.shopware.com/plugins/CKEditor/plugins/smiley/images/shopware.png "cool")&nbsp;Michael Telgmann
