Giter Club home page Giter Club logo

Comments (9)

citizenmatt avatar citizenmatt commented on August 16, 2024

Hmm. That might have something to do with the changes for #10. I'll take a look.

from resharper-xunit.

citizenmatt avatar citizenmatt commented on August 16, 2024

Do you know if similar behaviour happens with nunit tests?

from resharper-xunit.

lionsoft avatar lionsoft commented on August 16, 2024

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.

citizenmatt avatar citizenmatt commented on August 16, 2024

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.

lionsoft avatar lionsoft commented on August 16, 2024

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.

citizenmatt avatar citizenmatt commented on August 16, 2024

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.

lionsoft avatar lionsoft commented on August 16, 2024

Thanx for your answer... But what about #9 - it's really important to me?

from resharper-xunit.

citizenmatt avatar citizenmatt commented on August 16, 2024

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.

citizenmatt avatar citizenmatt commented on August 16, 2024

The fixed version is available on the gallery, for ReSharper 8 and 9.

from resharper-xunit.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.