Comments (9)
Hmm. That might have something to do with the changes for #10. I'll take a look.
from resharper-xunit.
Do you know if similar behaviour happens with nunit tests?
from resharper-xunit.
Hi, I did some tests - here is the results: http://dl.dropbox.com/u/936342/TempImg/2014-12-19_104541.png
Hope it will be usefull to you.
nUnit doesn't allow to set test description to R# test manager, but xUnit doesn't allow to set category to the one. It's a pity that each of the tools has minor issues (((
from resharper-xunit.
That's awesome, thanks! Nice to know that nunit's doing it correctly, so it'll be possible with xunit, too.
Nunit's description is used in QuickDoc tooltips, so if you hit Ctrl+Q with the text caret on the name of the method, you should see the description (except there's a bug in 9.0 - the method needs to have a normal XML doc /// <summary>
or it doesn't display anything).
Xunit allows setting a category using the [Trait]
attribute, like [Trait("Category", "foo")]
.
from resharper-xunit.
O! Big thanx for [Trait]
)) It works now!!! As far as I remember first time I tried it didn't work properly.
But XML doc for nUnit doesn't work - do I do something wrong? http://dl.dropbox.com/u/936342/TempImg/2014-12-19_113034.png
from resharper-xunit.
If you put the cursor on the method name, and press Ctrl+Q, it should display a tooltip with the nunit description added (but there is a bug around here, so it might not work). It won't show it in the test sessions window - you might want to try Ctrl+Q on the element in the tree, don't know if that works or not.
from resharper-xunit.
Thanx for your answer... But what about #9 - it's really important to me?
from resharper-xunit.
Interestingly, nunit has the same issue - unicode strings in a [TestCase]
are converted to escaped values. This is by design, too, at least for the ReSharper runner - it's maintaining compatibility to the nunit runner. https://youtrack.jetbrains.com/issue/RSRP-297076
from resharper-xunit.
The fixed version is available on the gallery, for ReSharper 8 and 9.
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.