Uploaded image for project: 'Bamboo Data Center'
  1. Bamboo Data Center
  2. BAM-8855

MSTEST runner in .NET plugin (3.1-SNAPSHOT) does not parse "Inconclusive" test results.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Low Low
    • 3.2 M2, 3.2
    • None
    • Windows
    • None

      Standalone Bamboo 3.1 on Win 2003 R2 x86, JRE 1.6.0_24

      The test assembly contains a single test:
      [TestMethod]
      public void TestMethod1()

      { Assert.Inconclusive( "No unit tests defined for the project!" ); }

      Log output:

      18-May-2011 16:36:50 Microsoft (R) Test Execution Command Line Tool Version 10.0.30319.1
      18-May-2011 16:36:50 Copyright (c) Microsoft Corporation. All rights reserved.
      18-May-2011 16:36:50
      18-May-2011 16:36:50 Loading Tests.Unit\bin\Release\Tests.Unit.dll...
      18-May-2011 16:36:51 Starting execution...
      18-May-2011 16:36:51
      18-May-2011 16:36:51 Results Top Level Tests
      18-May-2011 16:36:51 ------- ---------------
      18-May-2011 16:36:51 Inconclusive xxxxx.Tests.Unit.xxxxx.TestMethod1
      18-May-2011 16:36:52 0/1 test(s) Passed, 1 Inconclusive
      18-May-2011 16:36:52
      18-May-2011 16:36:52 Summary
      18-May-2011 16:36:52 -------
      18-May-2011 16:36:52 Test Run Inconclusive.
      18-May-2011 16:36:52 Inconclusive 1
      18-May-2011 16:36:52 ---------------
      18-May-2011 16:36:52 Total 1
      18-May-2011 16:36:52 Results file: D:\bamboo-home\xml-data\build-dir\xxxxx\testresults.trx
      18-May-2011 16:36:52 Test Settings: Default Test Settings
      18-May-2011 16:36:52 Parsing test results...
      18-May-2011 16:36:52 Failing task since test cases were expected but none were found.
      18-May-2011 16:36:52 Finished task 'Tests.Unit'

              pstefaniak PiotrA
              98daa2554fab Alistair Mackay
              Votes:
              1 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: