230 likes | 361 Views
Visual Studio Team System 2008. Test Edition. Agenda:. 2005 and 2008 differences What’s new in: Unit Testing Web Testing Load Testing. What’s new in Unit Testing. UI improvements Test generation improvements Test Class Inheritance Unit Testing for Smart Devices. Generating Unit Tests.
E N D
Visual Studio Team System 2008 Test Edition
Agenda: 2005 and 2008 differences What’s new in: Unit Testing Web Testing Load Testing
What’s new in Unit Testing • UI improvements • Test generation improvements • Test Class Inheritance • Unit Testing for Smart Devices
Generating Unit Tests • Auto generate tests for generic data types as values and method parameters • No more “Generics testing must be manually provided” • Generate unit tests from binary files without having access to the source code
Test Class Inheritance • Create base classes for • Reusable Test code • Initialization • Clean up • Test classes can implement IDisposable • Eliminates duplicate test code • Provides more options for test customization
Smart Device Unit Testing • Execute tests on the platform the application was made for • Target .NET Compact Framework 2.0 and 3.5 applications • Test platform specific code
What’s new in Web Testing • Improved data binding • Extract tests to create new tests • Improved Web Test Recorder • New supported browser types • Execute external code upon Web Test Events
Built in support for CSV and XML files Improved data binding wizard Preview data before completing wizard Data Binding
Extract Web Test... Extract requests from existing web tests to create new web tests Reuse tests Tests from existing Tests
Record HTTP requests made through Javascript AJAX calls Popup windows Automatic detection of dynamic parameter values from Query string parameters Form Post parameters Automatically correlates View State in AJAX requests Web Test Recording
New Load Modelling options Improved Load Test Analyzer views Improved Repository Management UI What’s new in Load Testing
Load Modelling • New load modelling tools • Closely simulate more real-world usage Total number of tests Number of virtual users User pace
Load Test Result Management • Open / Remove existing load test results from the load test repository
VSTS Installation Tips • Uninstall previous versions of VSTS 2008 before installing Team Suite • DO NOT under any circumstance install the RTM over an existing SP1 installation • The Windows Mobile 6.0 SDK must be re-installed if it was installed before VSTS 2008 is installed
Links • What’s new in VSTS http://msdn.microsoft.com/en-us/library/bb385832.aspx • What’s new in Test Edition http://msdn.microsoft.com/en-us/library/bb385901.aspx • How do I? (Test Edition) http://msdn.microsoft.com/en-us/library/ms243188.aspx • ”How do I?” Videos for Team System http://msdn.microsoft.com/en-us/vsts2008/bb507749.aspx
Visual Studio Team System – Test Edition http://msdn.microsoft.com/en-us/library/ms182409.aspx ASP.NET ”How do I?” Series http://msdn.microsoft.com/en-us/asp.net/bb498194.aspx Programming AJAX with ASP.NET Partial Rendering http://msdn.microsoft.com/en-us/magazine/cc748662.aspx Links
Christian Helle’s Blog http://christian-helle.blogspot.com Unit Testing for Smart Devices Webcast http://blogs.commentor.dk/downloads/smart_device_unit_testing.wmv Team System Rocks http://teamsystemrocks.com Links