Giter Club home page Giter Club logo

Comments (5)

edblackburn avatar edblackburn commented on August 16, 2024

Well. I am the first person to comment since April 10th, so I presume it's not a must have request(!)

I have just pulled the Sample repo and I'm struggling to them at all. My goal is to build an xunit extension that is backwards compatible with a subset of machine.specification tests. I'm only just spiking now but am struggling to even run the tests.

I suppose it depends on how much of an ecosystem forms around xunit.extensions. It's a chicken and egg situation. If it is difficult to run the tests, people won't leverage xunit.extension. If there's no extensions then there's no need for the runner?

If I can get any of the samples running at all perhaps I'd be more inclined to come back and offer some assistance.

from resharper-xunit.

BrunoJuchli avatar BrunoJuchli commented on August 16, 2024

@edblackburn
i'm trying to do quite the same :D It took me quite a while to get into it as well.
Running xunit2 extensibility based tests in r# doesn't work (yet) b/c the resharper plugin does not use xunit2 discovery yet, also see #1

@citizenmatt
what kind of annotations do you mean specifically? I'm not sure what you mean by the term. Do you you mean the code-inline xml doc on code elements? (like javadoc, they got a proper name for it ;-) )

from resharper-xunit.

edblackburn avatar edblackburn commented on August 16, 2024

@BrunoJuchli I see you have an email address on your profile. I will mail you next week to see if we can collaborate?

I use NCrunch as my primary test runner. Persuading people to build in xunit.extensions could be tricky. But if an OSS implementation can be built into R# then perhaps they'll be a defence point?

from resharper-xunit.

BrunoJuchli avatar BrunoJuchli commented on August 16, 2024

@edblackburn yeah let's discuss it :)

from resharper-xunit.

citizenmatt avatar citizenmatt commented on August 16, 2024

@BrunoJuchli I meant ReSharper's annotation attributes, that it uses to improve analysis and provide extra functionality. I'm already using it for Assert.False in xunit.assert.dll to mark it as an assertion method that throws an exception if you pass false in. ReSharper can use this to provide better analysis - e.g. if it knows or works out that you're passing false in, it can grey out following code. You can also add annotations such as telling ReSharper that a string parameter should be treated as a regular expression.

It might be worth adding some annotations for unit.extension.dll and xunit.runner.utility.dll. I'm not sure what though - null/not-null annotations probably, or base types required, interfaces required, etc. Haven't really looked. It's not going to provide a huge amount of help when writing extensions or runners, but it might be useful.

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.