# Q&A Best way to test Playbooks, roles using awx

**URL:** <https://forum.ansible.com/t/q-a-best-way-to-test-playbooks-roles-using-awx/8079>\
**Category:** Get Help\
**Tags:** devtools, ansible-test, awx\
**Created:** [August 24, 2024, 12:59pm UTC](https://forum.ansible.com/t/q-a-best-way-to-test-playbooks-roles-using-awx/8079 "2024-08-24T12:59:14Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![alainseys](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/alainseys/32/2757_2.png) [@alainseys](https://forum.ansible.com/u/alainseys)\
**Post date:** [August 24, 2024, 12:59pm UTC](https://forum.ansible.com/t/q-a-best-way-to-test-playbooks-roles-using-awx/8079/1 "2024-08-24T12:59:14Z")

</div>

Hello,

i have created this thread because i have some ideas how you guys are developing playbooks, roles, modules against awx this is how i currently run my code.

I have created a devcontainer in visual studio with all the python libaries / dependencies in it.  
When i completed a playbook / module / role i push my changes to Gitlab and then i launch a test machine and trigger the playbook / module / role.

but this can take up some time , is there a better way to do this wat are you guys using to run tests localy.

My main working machine is on windows but i run everything inside WSL technacly i can get rid of wsl but i am using dev containers not very long and i am still looking around what is the best method.
