This is a migrated thread and some comments may be shown as answers.

Test runner doesn't show test result

4 Answers 33 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Jakkie Esschert van den
Top achievements
Rank 1
Jakkie Esschert van den asked on 19 Feb 2015, 01:30 PM
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.)

4 Answers, 1 is accepted

Sort by
0
Jakkie Esschert van den
Top achievements
Rank 1
answered on 19 Feb 2015, 01:38 PM
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.
0
Svetlozar
Telerik team
answered on 24 Feb 2015, 12:52 PM
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.

 
0
srikanth
Top achievements
Rank 1
answered on 04 Mar 2015, 10:25 AM
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.
0
Svetlozar
Telerik team
answered on 06 Mar 2015, 05:06 PM
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.

 
Tags
General Discussions
Asked by
Jakkie Esschert van den
Top achievements
Rank 1
Answers by
Jakkie Esschert van den
Top achievements
Rank 1
Svetlozar
Telerik team
srikanth
Top achievements
Rank 1
Share this question
or