# Testing with split domain files = UserWarnings

**URL:** <https://forum.rasa.com/t/testing-with-split-domain-files-userwarnings/40837>\
**Category:** Rasa Open Source\
**Created:** [March 3, 2021, 2:22pm UTC](https://forum.rasa.com/t/testing-with-split-domain-files-userwarnings/40837 "2021-03-03T14:22:03Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![jonathanpwheat](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/jonathanpwheat/32/4880_2.png) [@jonathanpwheat](https://forum.rasa.com/u/jonathanpwheat)\
**Post date:** [March 3, 2021, 2:22pm UTC](https://forum.rasa.com/t/testing-with-split-domain-files-userwarnings/40837/1 "2021-03-03T14:22:03Z")

</div>

I’ve split my domain information into separate files in `data/domain` referencing the docs for the domain ( [Domain](https://rasa.com/docs/rasa/domain/) ) It trains and runs as expected using the `--domain data` parameter.

The issue I found is `rasa test` does not have this `--domain data` parameter, so I get all sorts of **UserWarnings**.

```auto
Found intent 'xxxxx' in stories which is not part of the domain.

```

I guess I can ignore them because they’re **UserWarnings** , and the tests pass, but I think there should be a parameter if the test is going to validate the data / intents used in the test stories.

Should I open an issue?

---

<div class="post-metadata">

**Author:** ![stephens](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/stephens/32/1632_2.png) [@stephens](https://forum.rasa.com/u/stephens)\
**Post date:** [May 5, 2021, 1:31am UTC](https://forum.rasa.com/t/testing-with-split-domain-files-userwarnings/40837/2 "2021-05-05T01:31:36Z")

</div>

Yes, I added a note about this in issue [8135](https://github.com/RasaHQ/rasa/issues/8135#issuecomment-832358117).
