# Tag Includes doesn't seem to work, Tag exclude does

**URL:** <https://forum.robotframework.org/t/tag-includes-doesnt-seem-to-work-tag-exclude-does/4581>\
**Category:** DataDriver\
**Created:** [25 August 2022 09:52 UTC](https://forum.robotframework.org/t/tag-includes-doesnt-seem-to-work-tag-exclude-does/4581 "2022-08-25T09:52:45Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![René](https://dub1.discourse-cdn.com/flex005/user_avatar/forum.robotframework.org/ren%C3%A9/32/7_2.png) [@René](https://forum.robotframework.org/u/Ren%C3%A9)\
**Post date:** [25 August 2022 15:03 UTC](https://forum.robotframework.org/t/tag-includes-doesnt-seem-to-work-tag-exclude-does/4581/2 "2022-08-25T15:03:49Z")

</div>

Hi,

as written in [docs](https://github.com/Snooz82/robotframework-datadriver#robot-framework-command-line-arguments) you need to add a tag to the template test and include that.

I would recommend to just add a tag “`datadriver`” to all DataDriver Suites and then call always:

`robot --include datadriver --include <yourDynInclTags> --exclude <yourDynExclTags> `

If you do not include the static template test case of the robot file, robot will remove that from execution and the suite with DataDriver will never be executed.

---

_[View the full topic](https://forum.robotframework.org/t/tag-includes-doesnt-seem-to-work-tag-exclude-does/4581)._
