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 6902551
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T07:48:43+00:00 2026-05-27T07:48:43+00:00

I have some MSTest unit tests that are running just fine on my machine

  • 0

I have some MSTest unit tests that are running just fine on my machine but are failing in my autobuild.

The error gives a generic fault exception then says “See the inner exception for details”.

Normally I would just run the test then examine the inner exception. But it is working fine on my machine.

Is there a way to tell the tests to record the inner exception test too? Or do I have to log on to my build machine and try to run the tests from there? (Not really a great solution in my opinion.)

  • 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-27T07:48:44+00:00Added an answer on May 27, 2026 at 7:48 am

    I’m not aware of any method to get the exception after a test has failed.

    You could always use a logger to log the exceptions that occur and write them to a file or mail them to you so you get all the details you need.

    Or you could (temporarily) wrap your unit test in a try/catch -> throw and write the InnerException to your test outcome.

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

Sidebar

Related Questions

I have some unit tests that run fine on my dev machine on both
I'm having trouble with some MSTest unit tests that pass when I run them
I have some UI in VB 2005 that looks great in XP Style, but
I've been using MSTest so far for my unit-tests, and found that it would
I've written an abstract base class for unit tests that sets up just enough
We have a set of user acceptance tests (written in MSTest) which run fine
In some my project I notice that during executing unit tests under VSTS2008 its
Can some one help with setting up a build step for running Unit tests
I have some code that creates a new event source: EventLog.CreateEventSource(Source, LogName); I know
I have some problems calling a constructor with a hash. I get the error:

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.