Completed
Last Updated: 30 Aug 2013 20:27 by ADMIN
ADMIN
Cody
Created on: 18 Jul 2013 17:24
Type: Bug Report
0
Misleading error displayed trying to run excluded test
If you use the ArtOfTest.Runner command line runner to run a test that has been excluded from the project and contains coded steps what you get is an error message like:

'7/18/2013 10:30:10 AM' - System.ArgumentException: Unable to find the test class type 'TestProject1.Submit_Application' in your test assembly. Please make sure your test code behind is compiled with your latest changes.

This message is happening because Test Studio is correctly skipping compiling the code for the excluded test, but then it goes on and tries to run the test without its accompanying required code getting compiled.

Instead of showing this rather unhelpful message it would be better to detect this situation and alert the user what the real cause is, something like "You are trying to execute an excluded test." and block execution.
1 comment
ADMIN
Konstantin Petkov
Posted on: 30 Aug 2013 20:27
Hello,

The problem has been addressed with the latest internal build we published earlier this week:
http://www.telerik.com/account/your-products/internal-builds.aspx

Release notes:
http://www.telerik.com/versionnotes.aspx?nb=1&id=3301

Thanks for the feedback!