# Simple refactoring testing

**URL:** <https://forum.ansible.com/t/simple-refactoring-testing/23135>\
**Category:** Ansible Project\
**Created:** [November 30, 2016, 10:55am UTC](https://forum.ansible.com/t/simple-refactoring-testing/23135 "2016-11-30T10:55:08Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![andrea\_crotti](https://avatars.discourse-cdn.com/v4/letter/a/73ab20/32.png) [@andrea\_crotti](https://forum.ansible.com/u/andrea_crotti)\
**Post date:** [November 30, 2016, 10:55am UTC](https://forum.ansible.com/t/simple-refactoring-testing/23135/1 "2016-11-30T10:55:08Z")

</div>

Suppose I have a playbook that became too complex, and I start splitting it into roles, is there a way to do that ensuring nothing broke?

If for example the order is the same specially, can I not see the list of generated actions and check that the operations done are exactly the same?

How are people testing roles changes in general?  
Thanks
