Git Product home page Git Product logo

mstesttoxunitconverter's Introduction

mstesttoxunitconverter's People

Contributors

jschneidereit avatar rikkigibson avatar

Stargazers

 avatar

Watchers

 avatar

mstesttoxunitconverter's Issues

Making changes as we go clobbers semantic info

Basically the code in 6d75cf8 was a really long and unpleasant way to figure out that almost everything in this project is wrong or bad.

Instead of making changes as we determine that they need to be made, we need to queue the changes to be made after the analysis.

What I've found is that references to nodes in the code need to be reacquired before actually doing anything if a change is made.

So what needs to happen...I think... is that we need to store some kind of structure containing a hard position to a bit of code that can't be "lost" and a transform function. Then once the changes have been queued up, let them rip using public static TRoot ReplaceNodes<TRoot, TNode>(this TRoot root, IEnumerable<TNode> nodes, Func<TNode, TNode, SyntaxNode> computeReplacementNode) found in Microsoft.CodeAnalysis.SyntaxNodeExtensions.

TestCategory is not converted

[TestCategory("Integration")]
should be converted to
[Trait("Category","MyCategoryName")]

Currently TestCategory is completely ignored.

Fix Assert.Fail and Assert.Inconclusive

These don't have equivalents in xUnit...

Assert.Fail could be Assert.True(false, "message");

Assert.Inconclusive should probably just get commented out... with a TODO so the visual studio task list will pick it up

Issue with converting expected exception attribute

Convert ExpectedException to lambda improperly quotes the message if available.
It also doesn't properly format the newly created lambda.

An example of the failure:
Assert.Equal(""Some message"", ex.Message);} }

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.