# ArgumentException running xUnit tool

**URL:** https://www.finalbuilder.com/forums/t/argumentexception-running-xunit-tool/6749
**Category:** Bugs
**Created:** [March 23, 2020, 8:34pm UTC](https://www.finalbuilder.com/forums/t/argumentexception-running-xunit-tool/6749 "2020-03-23T20:34:53Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![msanz](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/m/ed8c4c/32.png) [@msanz](https://www.finalbuilder.com/forums/u/msanz)
#### Post date: [March 23, 2020, 8:34pm UTC](https://www.finalbuilder.com/forums/t/argumentexception-running-xunit-tool/6749/1 "2020-03-23T20:34:53Z")

</div>

I’m running xUnit tool in my fbp8 project and I got the following error:

 ![image](https://www.finalbuilder.com/forums/uploads/default/original/2X/1/113e0ae7351fb7fe6f6bb13f03916c831fe56588.png)

I made some research and found out that Final Builder was calling xUnit console as follows:

> D:\MyProject\Source\packages\xunit.runner.console.2.4.1\tools\net461\xunit.console.exe D:\MyProject\Source\FinalBuilder..\MyProject.Test\bin\Release\MyProject.Test.dll /nunit C:\Users\myuser\AppData\Local\Temp\tmpD9C2.tmp

The first argument is the test project dll, fine. What confuses me is the **/nunit** parameter along with a temp file path.

I’m using in Final Builder 8.0.0.2370.

Thank you.

---

<div class="post-metadata">

### Author: ![Vincent](https://www.finalbuilder.com/forums/user_avatar/www.finalbuilder.com/vincent/32/938_2.png) [@Vincent](https://www.finalbuilder.com/forums/u/Vincent)
#### Post date: [March 23, 2020, 10:46pm UTC](https://www.finalbuilder.com/forums/t/argumentexception-running-xunit-tool/6749/2 "2020-03-23T22:46:00Z")

</div>

It’s a bug. At some point xUnit console runner stopped allowing / for command line parameters. I’ll upload a fix later today.

The /nunit option is used internally by the action to allow us to parse the test results (not sure why we don’t just use the xunit format).

---

<div class="post-metadata">

### Author: ![Vincent](https://www.finalbuilder.com/forums/user_avatar/www.finalbuilder.com/vincent/32/938_2.png) [@Vincent](https://www.finalbuilder.com/forums/u/Vincent)
#### Post date: [March 24, 2020, 12:50am UTC](https://www.finalbuilder.com/forums/t/argumentexception-running-xunit-tool/6749/3 "2020-03-24T00:50:02Z")

</div>

I have updated the action and added a few more options to it

[https://downloads.finalbuilder.com/downloads/finalbuilder/800/FB800\_2812.exe](https://downloads.finalbuilder.com/downloads/finalbuilder/800/FB800_2812.exe)

There is still more to do to bring this fully up to date but we need to make some enhancements to action studio to get that done (adding multiple assemblies & config files).
