Completed
Last Updated: 05 Mar 2014 11:55 by ADMIN
ADMIN
Velin Koychev
Created on: 23 Jan 2014 13:32
Type: Bug Report
1
Deep folder test execution fails silently
In a specific project, all of the tests can be executed successfully from Visual Studio. In Test Studio Standalone there are 4 tests deep in a hierarchy of folders that during test execution fail with the following message. For some reason building the DLL misses their code-behind.

System.ArgumentException: Unable to find the test class type 'MyNamespace.MyClass' in your test assembly. Please make sure your test code behind is compiled with your latest changes.   at ArtOfTest.WebAii.Design.Execution.ExecutionUtils.EnsureTypeExists(Assembly assm, String typeName)   at ArtOfTest.WebAii.Design.Execution.ExecutionUtils.CreateCodedTestInstance(Test test, TestResult result, String binariesFolder)   at ArtOfTest.WebAii.Design.Execution.ExecutionEngine.InternalExecuteTest(Test test, TestResult initializationResult)   at ArtOfTest.WebAii.Design.Execution.TestExecuteProxy.ExecuteTest(ExecuteTestCommand command)

In order to workaround this issue, you need to move these test files in a parent folder.
1 comment
ADMIN
Shtilianov
Posted on: 05 Mar 2014 11:55
Problem is fixed. Note that the real reason was the folder name "Properties", this is a system folder for Test Studio and test studio excludes it, If it finds it in the root folder of the project. Before the fix test studio also excluded folders named "Properties" deep in the project too, which was wrong.
Fix will be available with the upcoming service pack.