# Test ansible rtoles with dependencies and DRY principle.

**URL:** <https://forum.ansible.com/t/test-ansible-rtoles-with-dependencies-and-dry-principle/24538>\
**Category:** Ansible Project\
**Created:** [May 22, 2017, 1:11pm UTC](https://forum.ansible.com/t/test-ansible-rtoles-with-dependencies-and-dry-principle/24538 "2017-05-22T13:11:24Z")\
**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:11pm UTC](https://forum.ansible.com/t/test-ansible-rtoles-with-dependencies-and-dry-principle/24538/1 "2017-05-22T13:11:24Z")

</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 as requirements are already set in the meta/main.yml of this role.

Thank you.

```
