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.
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
Support Staff 1 Posted by Feodor Fitsner on 08 Jun, 2014 03:59 PM
Thanks for reporting that! We'll add
XUnit.Extensions
to tests discovery routine.Support Staff 2 Posted by Feodor Fitsner on 09 Jun, 2014 11:54 PM
Is it possible to reference
xunit.extensions
without referencingxunit
?3 Posted by dbb on 13 Jun, 2014 03:35 AM
No it shouldn't be possible to reference
xunit.extensions
withoutxunit
. I tried to create a test project to demonstrate this behavior, but I couldn't reproduce, so maybe a fluke.Ilya Finkelshteyn closed this discussion on 25 Aug, 2018 01:45 AM.