XUnit test assemblies must have a Fact test to be discovered

dbb's Avatar

dbb

08 Jun, 2014 03:16 PM

It appears that if a XUnit test assembly only contain Theory tests (from XUnit.Extensions) it will not be automatically discovered and run. However, if you add a normal Fact test, the assembly is discovered and all Theory tests are also run.

  1. Support Staff 1 Posted by Feodor Fitsner on 08 Jun, 2014 03:59 PM

    Feodor Fitsner's Avatar

    Thanks for reporting that! We'll add XUnit.Extensions to tests discovery routine.

  2. Support Staff 2 Posted by Feodor Fitsner on 09 Jun, 2014 11:54 PM

    Feodor Fitsner's Avatar

    Is it possible to reference xunit.extensions without referencing xunit?

  3. 3 Posted by dbb on 13 Jun, 2014 03:35 AM

    dbb's Avatar

    No it shouldn't be possible to reference xunit.extensions without xunit. I tried to create a test project to demonstrate this behavior, but I couldn't reproduce, so maybe a fluke.

  4. Ilya Finkelshteyn closed this discussion on 25 Aug, 2018 01:45 AM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac

 

01 Oct, 2024 04:27 PM
26 Sep, 2024 03:49 PM
26 Sep, 2024 09:02 AM
25 Sep, 2024 07:07 PM
24 Sep, 2024 08:39 PM
24 Sep, 2024 06:47 AM