Comments (4)
This is probably due to a change in xunit2 - it no longer supports capturing Console.Out
or Console.Error
, etc. because it's now multi-threaded, and there's no way to know which test made the output. What you can do instead is take an instance of ITestOutputHelper
in your test constructor arguments and use that to output any messages you need.
I don't think this has made it to the xunit docs site yet, but you can read a little about it in the release notes from March (scroll down to "Test Output").
from resharper-xunit.
I just pushed a documentation page today. Hopefully that will clear things up. :)
http://xunit.github.io/docs/capturing-output.html
from resharper-xunit.
Thanks both for your help with this issue, and for your work on the tool in general.
from resharper-xunit.
Is there a way to run xUnit as a CLI and have logging printed out to it?
from resharper-xunit.
Related Issues (20)
- 2.3.3 showing diagnostic Errors popup where 9 wasn't, how to disable? HOT 5
- How to debug a specific set of data of a theory? HOT 2
- Add support for R# 10.1 (EAP / Wave 5.0) HOT 26
- Difference in count of available tests HOT 6
- Cannot install v2.3.4 for Resharper 1.0.2 HOT 7
- Plugin not finding test assembly HOT 1
- Running a test marked as [Fact] runs tests in the same class marked with [Theory] HOT 1
- when test methods are in base class, traits on a child class, they show as <Uncategorized> HOT 1
- Running Nancy tests fails with ArgumentException HOT 2
- dotCover 10.0.2 shows empty coverage when running tests using this extension HOT 1
- Using dnx version > to 451 makes Unit test disappears from test explorer HOT 1
- Unable to run tests for Universal Class Library HOT 7
- Missing test runner context icon from gutter HOT 8
- Not working for .NET Core HOT 1
- Cannot use Resharper Test Session HOT 1
- Debug test randomly identifies the test as skip despite no xunit skip
- After 2016.2 Update, discovering xUnit Theory tests causes White Screen when selecting large blocks that need to be discovered HOT 1
- XUnit 2.1 Custom CategoryTraitAttribute is ignored in Unit Test Explorer - Group by HOT 2
- Resharper 2017.2 Can't support VS2015
- Theory test runs only once HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from resharper-xunit.