Test runner doesn't show test result

5 posts, 0 answers
  1. Jakkie Esschert van den
    Jakkie Esschert van den avatar
    61 posts
    Member since:
    Sep 2009

    Posted 19 Feb 2015 Link to this post

    Hi,

    I've got a nUnit test which I run with the JustCode test runner but wich never gets a result. All it ever does is display an exclamation mark and the message 'Not executed'. However, when I debug the test it does run and it seems to complete correctly. The same test used to run correctly, but once it stopped I can't get it to work again. Other tests do execute correctly.

    From the JustCode output this seems to be the problem in JustCode:
    INFO 2015-02-19 14:21:55.357 : JustCode TestRunner Error output: System.Runtime.Serialization.SerializationException: Type is not resolved for member 'ServiceStack.DispsableTracker,ServiceStack, Version=4.0.36.0, Culture=neutral, PublicKeyToken=null'.
    at Telerik.JustCode.UnitTesting.TestExecutor.CurrentAppDomainHost.Execute(UnitTestRunTask task)
    at Telerik.JustCode.UnitTesting.TestExecutor.Executor.RunTests(TestServiceClient testServiceClient, String logFileName) in c:\_J\workspace\JustCode_Installer_Release\src\TestRunner.TestExecutor\Executor.cs:line 166
    at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
    at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
    at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
    at System.Threading.ThreadHelper.ThreadStart()
    Log Site Stacktrace:
    at Telerik.JustCode.Common.Logging.ExceptionInfo.GetExceptionString(Exception ex) in c:\_J\workspace\JustCode_Installer_Release\_CodeAnalysis\src\Logging\ExceptionInfo.cs:line 97
    at Telerik.JustCode.UnitTesting.TestExecutor.Executor.CurrentDomainUnhandledException(Object sender, UnhandledExceptionEventArgs e) in c:\_J\workspace\JustCode_Installer_Release\src\TestRunner.TestExecutor\Executor.cs:line 184
    at Telerik.JustCode.UnitTesting.TestExecutor.CurrentAppDomainHost.Execute(UnitTestRunTask task)
    at Telerik.JustCode.UnitTesting.TestExecutor.Executor.RunTests(TestServiceClient testServiceClient, String logFileName) in c:\_J\workspace\JustCode_Installer_Release\src\TestRunner.TestExecutor\Executor.cs:line 166
    at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
    at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
    at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
    at System.Threading.ThreadHelper.ThreadStart()

    Any hint about how to make this test work would be appreciated. (Or perhaps I've found a bug in JustCode.)
  2. Jakkie Esschert van den
    Jakkie Esschert van den avatar
    61 posts
    Member since:
    Sep 2009

    Posted 19 Feb 2015 in reply to Jakkie Esschert van den Link to this post

    I've just tested the same test in the nUnit test runner and that does execute the test correctly. So this seems to be an issue within JustCode.
  3. DevCraft banner
  4. Svetlozar
    Admin
    Svetlozar avatar
    269 posts

    Posted 24 Feb 2015 Link to this post

    Hello,

    I am really sorry for the inconvenience!

    Could you please prepare a sample solution demonstrating the problem and send it over. You can open a private ticket if you don't want to attach projects in the public forum.

    If that is not convenient for you we will appreciate if you could provide information about your project
    • Which is the target framework version.
    • Which version of NUnit you are using on your side.
    • Is it x86/64/Any CPU.

    Thank you in advance for your assistance!

    Regards,
    Svetlozar
    Telerik
     

    Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

     
  5. srikanth
    srikanth avatar
    19 posts
    Member since:
    Feb 2015

    Posted 04 Mar 2015 Link to this post

    Hello,
      Can you please tell me how can we check the results after executing a testlist in Visual studio 2012 plug-in as per telerik documentation mentioned for VS2010 we can check the results in 'Results' option and we can also get the reports generated in Results folder as '.trx' extension files but in VS12 it was storing as ".mdf" and ".ldf" extensions files generated by SQL server . It would be so helpful if you give me clear idea about how can I get the tests results report in VS2012 and tell me if there is any way to convert these result reports into HTML file.

    Thanks,
    K. Sreekanth Kumar.
  6. Svetlozar
    Admin
    Svetlozar avatar
    269 posts

    Posted 06 Mar 2015 Link to this post

    Hello,

    Microsoft changed the test tooling in Visual Studio 2012. Running tests inside Visual Studio using its test explorer no longer outputs trx files. If you need it I suggest you call mstest directly with the resultsFile switch. You can find more information here - MSTest.exe command-line options

    Regards,
    Svetlozar
    Telerik
     

    Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

     
Back to Top
DevCraft banner