# roles dependencies tests and DRY

**URL:** <https://forum.ansible.com/t/roles-dependencies-tests-and-dry/24539>\
**Category:** Ansible Project\
**Created:** [May 22, 2017, 1:15pm UTC](https://forum.ansible.com/t/roles-dependencies-tests-and-dry/24539 "2017-05-22T13:15:34Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Michee\_Lengronne](https://avatars.discourse-cdn.com/v4/letter/m/bb73d2/32.png) [@Michee\_Lengronne](https://forum.ansible.com/u/Michee_Lengronne)\
**Post date:** [May 22, 2017, 1:15pm UTC](https://forum.ansible.com/t/roles-dependencies-tests-and-dry/24539/1 "2017-05-22T13:15:34Z")

</div>

```auto
Hello,

I am currently developing and refactoring custom ansible roles and I would like to know how can I do to call dependencies in a role from its tests folder without rewriting a requirements.yml in this folder ? I would like to respect the DRY principle.

Thank you.

```
