# Conseils pour écrire des tests Ruby pour les plugins

**URL:** <https://meta.discourse.org/t/advice-on-writing-ruby-tests-for-plugins/108110>\
**Category:** Development\
**Created:** [Février 1, 2019, 9:52 UTC](https://meta.discourse.org/t/advice-on-writing-ruby-tests-for-plugins/108110 "2019-02-01T09:52:27Z")\
**Posts on this page:** 1\
**Showing post:** 14

<div class="post-metadata">

**Author:** ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)\
**Post date:** [Février 4, 2019, 12:08 UTC](https://meta.discourse.org/t/advice-on-writing-ruby-tests-for-plugins/108110/14 "2019-02-04T00:08:32Z")

</div>

`bin/rake autospec` stops a lot of this fuffing around.

Simply run that … then save a spec file in your plugin.

---

_[View the full topic](https://meta.discourse.org/t/advice-on-writing-ruby-tests-for-plugins/108110)._
