XUnit test assemblies must have a Fact test to be discovered

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. Thanks for reporting that! We'll add XUnit.Extensions to tests discovery routine.

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

  3. 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