acyment

Hi all,

I've been trying to use [CssProjectStructure] to relate my test methods to an area path, but have only succeeded using an URI as the attribute constructor's only argument. Is there a way I can use the attribute using a more intuitive name, such as "ProjectName\Node1\Node2"

Cheers,
Alan


Re: Visual Studio Team System - Testing CssProjectStructureAttribute only works with URIs?

Jerry Noll

What is the desired end result you would like to affect

After reading your post, I am not certain what you are trying to do. What do yo mean "test methods to an area path"






Re: Visual Studio Team System - Testing CssProjectStructureAttribute only works with URIs?

Bruce Taimana MSFT

No. The reason behind this is because we must store the actual artifact not a string representation that could be renamed. While it would have been good to hide this, the method is bound to the structure.

If you would like to add additional custom attributes you can do so, but right now, for CssProjectStructure it will be the stored artifact as an artifact

BTW. The binding between TFS and Unit tests are very loose. We hope to improve that in future major releases (not VS2008).