# Run "Unit test" outside NaturalONE with ant task

**URL:** <https://techcommunity.softwareag.com/t/run-unit-test-outside-naturalone-with-ant-task/171956>\
**Category:** Forum\
**Tags:** Adabas-Natural, Natural, NaturalONE, NaturalONE-Full-Edition\
**Created:** [July 19, 2013, 6:28pm UTC](https://techcommunity.softwareag.com/t/run-unit-test-outside-naturalone-with-ant-task/171956 "2013-07-19T18:28:14Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/techcommunity/original/3X/c/d/cd19967bb605d28a72d77eb83a1cae22f3df2eb8.svg) [@system](https://techcommunity.softwareag.com/u/system)\
**Post date:** [July 19, 2013, 6:28pm UTC](https://techcommunity.softwareag.com/t/run-unit-test-outside-naturalone-with-ant-task/171956/1 "2013-07-19T18:28:14Z")

</div>

Hi !

When we try to use the ant task outside of NaturalOne, we were expecting a junit report as result, but it doesnt working like this …

Software AG documentation explains that " then create a Junit test file to run the Ant scripts programmatically from Java". Please, could you explain or give an example on how we can do this?

Best regards

(NaturalONE V827)

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/techcommunity/original/3X/c/d/cd19967bb605d28a72d77eb83a1cae22f3df2eb8.svg) [@system](https://techcommunity.softwareag.com/u/system)\
**Post date:** [April 2, 2021, 3:29pm UTC](https://techcommunity.softwareag.com/t/run-unit-test-outside-naturalone-with-ant-task/171956/2 "2021-04-02T15:29:10Z")

</div>


