# Can I write Unit tests for the my existing RobotFramework Tests

**URL:** <https://forum.robotframework.org/t/can-i-write-unit-tests-for-the-my-existing-robotframework-tests/4383>\
**Category:** Robot Framework\
**Created:** [23 July 2022 08:03 UTC](https://forum.robotframework.org/t/can-i-write-unit-tests-for-the-my-existing-robotframework-tests/4383 "2022-07-23T08:03:29Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![yogeshwar3](https://avatars.discourse-cdn.com/v4/letter/y/3ab097/32.png) [@yogeshwar3](https://forum.robotframework.org/u/yogeshwar3)\
**Post date:** [23 July 2022 08:03 UTC](https://forum.robotframework.org/t/can-i-write-unit-tests-for-the-my-existing-robotframework-tests/4383/1 "2022-07-23T08:03:30Z")

</div>

Hi All,

I am recently learning and implementing the RobotFramework at my work… my manager asked me to write the Unit test cases for those RobotFramework Tests that I wrote…

Is it feasible? Is it possible? If Yes, how can I write those unit tests…

Note: I’m not even writing the exact tests (I’m not using any assertions) as this is just a simulation activity to create orders through the given website.

Please let me know…  
Thank you.

---

<div class="post-metadata">

**Author:** ![HelioGuilherme66](https://dub1.discourse-cdn.com/flex005/user_avatar/forum.robotframework.org/helioguilherme66/32/34_2.png) [@HelioGuilherme66](https://forum.robotframework.org/u/HelioGuilherme66)\
**Post date:** [23 July 2022 16:53 UTC](https://forum.robotframework.org/t/can-i-write-unit-tests-for-the-my-existing-robotframework-tests/4383/2 "2022-07-23T16:53:00Z")

</div>

You have to take a look to the unit tests and acceptance tests, of RobotFramework itself.

Your “unit tests” can be based on the “acceptance” tests of the framework.  
Just fork or clone the repository at [GitHub - robotframework/robotframework: Generic automation framework for acceptance testing and RPA](https://github.com/robotframework/robotframework)  
and then see the `atests` and how they are structured.
