Visual Studio 2010 Feature Pack 2 發(fā)布

2010/11/16 19:08:38    編輯:軟媒編譯     字體:【

Win7之家afsion.com.cn):Visual Studio 2010 Feature Pack 2 發(fā)布

【軟媒編譯】

微軟官方發(fā)布了其最新開發(fā)工具Visual Studio 2010 的 FP2,就是 Feature Pack2,官方頁面見:http://msdn.microsoft.com/en-us/vstudio/ff655021.aspx,同F(xiàn)P1一樣,依然只針對MSDN訂閱用戶。

FP1是在2010/04發(fā)布的,它主要提供了對VS2010建模和代碼可視化方面的新功能和改進,F(xiàn)P2包含了FP1的所有內(nèi)容,同時重點針對2010的測試功能增加了新的功能——

1.測試Silverlight 4.0應(yīng)用

VS2010中自動化測試的一大遺憾就是不支持Silverlight應(yīng)用程序,《MSDN:Supported Configurations and Platforms for Coded UI Tests and Action Recordings》詳細列出了Coded UI測試所支持的測試配置環(huán)境。也就是說,你無法錄制和播放對Silverlight應(yīng)用的操作,也無法使用Coded UI測試驅(qū)動界面操作。FP2可以讓你完成上述這些任務(wù)。

2.支持Firefox瀏覽器的記錄和快速回放

支持Mozilla Firefox 3.5、3.6+

3.Coded UI測試編輯器

Coded UI測試編輯器用來使編輯和管理錄制的Coded UI測試更加容易。

搞開發(fā)的直接還是看英文說明吧——

Cumulative feature pack that extends testing, code visualization and modeling capabilities in Visual Studio 2010.

Testing features:

  • Use Microsoft Test Manager to capture and playback action recordings for Silverlight 4 applications.
  • Create coded UI tests for Silverlight 4 applications with Visual Studio 2010 Premium or Visual Studio 2010 Ultimate.
  • Edit coded UI tests using a graphical editor with Visual Studio 2010 Premium or Visual Studio 2010 Ultimate.
  • Use action recordings to fast forward through manual tests that need to support Mozilla Firefox 3.5 and 3.6.
  • Run coded UI tests for web applications using Mozilla Firefox 3.5 and 3.6 with Microsoft Visual Studio 2010 Premium or Visual Studio 2010 Ultimate.

Code visualization and modeling features (requires Visual Studio 2010 Ultimate):

  • Use the Generate Code command to generate skeleton code from elements on UML class diagrams. You can use the default transformations, or you can write custom transformations to translate UML types into code.
  • Create UML class diagrams from existing code.
  • Explore the organization and relationships in C, C++, and ASP.NET projects by generating dependency graphs.
  • Import elements from UML sequence diagrams, class diagrams, and use case diagrams as XMI 2.1 files that are exported from other modeling tools.
  • Create links and view links from work items to model elements.
  • Create layer diagrams from C or C++ code and validate dependencies.
  • Write code to modify layer diagrams and to validate code against layer diagrams.

 Windows7之家afsion.com.cn),凝聚你我他