Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 468817
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 12, 20262026-05-12T23:43:12+00:00 2026-05-12T23:43:12+00:00

We are thinking about moving our tests from MSTest to XUnit. Is there any

  • 0

We are thinking about moving our tests from MSTest to XUnit.

Is there any migration application that takes a MSTest and migrates it to XUnit?

Also, if not, what should I look out for when doing this?

Thanks.
JD.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-12T23:43:12+00:00Added an answer on May 12, 2026 at 11:43 pm

    I moved quite a few tests recently. It depends on how many and what type of tests you’re converting, and you didnt kill yourself giving us details. In general, I think its safe to assume that your average MSTest minded shop wont be massively Test Infected and thus wont have delved into each dark corner of MSTest.

    All the Assert.* methods and the basic Test Attributes are simple find and replaces. The more rare ones, I’d generally steer towards assessing each case individually. Unless you’re already a xUnit.net expert, you’ve got lots to learn and this will help you.

    Also, usage of Assert.Fail isnt a simple transformation. The other thing is the transformation of TestClassInitialize to IUseFixture – simple to do, but hard to automate.

    If people are using Test References, you won’t be able to remove the reference to the MSTest assembly (and you’ll still need to have VS on your build server – and it will continue to randomly fail on the Shadow taks, see my questions).

    The biggest manual work for me was going through the 20 lines of boilerplate in a region at the top to see whether anyone actually used any of the custom attributes before deleting them.

    The main thing that would have been a lot of work had it not been for a CodeRush template was converting ExpectedException to Assert.Throws. If you havent got CodeRush or ReSharper on this job, you’d be stealing money from your employer.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am thinking about embedding arbitrary integer array data into an image file. I
Lately I've been thinking about writing my own language - something I've wanted to
I'm thinking about using Play for a large-scale project, so, has anyone battle-tested Play
I was thinking about this. classes are obviously passed around by ptr. I suspect
all. I've been thinking about a design decision for a PHP form and I'd
Hello i'm new to cocos 2D and am thinking about implementing iADs in a
I know the basics about iPhone sdk. I am building an app which is
I'm about to start building WCF web service, and i would like to structure
I'm currently working on a very simple calendar using Jquery. Actually, We need a
I am writing a script to query dates 3 months ago. As I am

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.