Jenney Zhao

导航

2013年10月11日 #

扩展Visual Studio Test Project:自定义TestClassAttribute - part 2

摘要: [转] http://blogs.msdn.com/b/vstsqualitytools/archive/2009/09/04/extending-the-visual-studio-unit-test-type-part-2.aspx代码下载地址:http://archive.msdn.microsoft.com/UnitTestExtendSample/Release/ProjectReleases.aspx?ReleaseId=4030In part 1, we introduced Unit Test Type Extensibility, highlighting the main 阅读全文

posted @ 2013-10-11 16:16 Jenney Zhao 阅读(453) 评论(0) 推荐(0) 编辑

扩展Visual Studio Test Project:自定义TestClassAttribute - part 1

摘要: 背景使用Visual Studio 2010 Test Project创建我们的automation test case时,预定义的TestClassAttribute可能会有以下局限:假设某些automation test case要求在version 1.0下跑;某些要求在version 1.1下跑,或在不同的环境下执行不同的case,预定义的TestClassAttribute不能在运行中自动决定某些case是否可以run,某些是否不能run(至少现在我没找到解决方法)。但Microsoft提供了一些类库可供我们自定义TestClassAttribute,从而实现以上目的。[转]http 阅读全文

posted @ 2013-10-11 15:12 Jenney Zhao 阅读(906) 评论(0) 推荐(0) 编辑