Joe Hummel, PhD Dept of Mathematics and Computer Science Lake Forest College

Slides:



Advertisements
Similar presentations
A Taste of Visual Studio 2005 David Grey. Introduction In this session we will introduce Visual Studio 2005 and its features and examine those features.
Advertisements

Developer Tester Architect IT / Project Manager BusinessAnalyst Designer Database Professional Team Collaboration Software Quality Project Transparency.
Eralp Erat Senior Software Developer MCP,MCAD.NET,MCSD.NET.
Microsoft Confidential2 AdministrationTestingProject Mgmt.
Visual Studio Team System (VSTS). Richard Hundhausen Author of software development books Microsoft Regional Director Microsoft MVP (VSTS) MCT, MCSD,
Building Enterprise Applications Using Visual Studio ®.NET Enterprise Architect.
What’s Completely New? Visual Studio Team System! Sean Puffett Developer Evangelist
Team System and Microsoft Solutions Framework Alan Cameron Wills Architect, MSF
Chapter 2: The Visual Studio.NET Development Environment Visual Basic.NET Programming: From Problem Analysis to Program Design.
Hans Verbeeck What We’ve Heard Continued complexity of building enterprise systems Bigger, more distributed teams More challenges.
MSDN TechTalk Agenda Visual Studio Team Edition for Database Professionals 08:30 – 09:00 Registration 09: :15 (Roger Boesch, Microsoft Schweiz) Einbindung.
Pedro Miguel Rosa Senior Software Engineer Developer Platform Group.
Team System and MSDN Subscriptions Summary Pricing, Licensing & Transition Plan Andreas Nordenadler Product Manager, Developer Tools.
Enabling Better Software through Better Testing Jason Anderson, Microsoft
Version Enterprise Architect Redefines Modeling in 2006 An Agile and Scalable modeling solution Provides Full Lifecycle.
Team System Adoption Martin Woodward Teamprise. Visual Studio Editions Easy to use, easy to learn, easy to acquire tools for hobbyists, enthusiasts, and.
Standards for Technology in Automotive Retail STAR Workbench 1.0 Michelle Vidanes & Dave Carver STAR XML Data Architects, Certified Scrum Masters.
Joe Hummel, PhD Dept of Mathematics and Computer Science Lake Forest College Lecture 8: WebForms — Web-based.
Visual Studio 2005 Team System: Enterprise Class Source Control & Work Item Tracking Ajay Sudan Microsoft Corporation
McGraw-Hill© 2007 The McGraw-Hill Companies, Inc. All rights reserved. 1-1.
Teach.NET Workshop Series Track 4: AP Computer Science with.NET and J#
DEV302 - Visual Studio Team System Building Robust and Reliable Software Eric Lee Program Manager Microsoft Corporation.
Joe Hummel, PhD Dept of Mathematics and Computer Science Lake Forest College
NOTE: To change the image on this slide, select the picture and delete it. Then click the Pictures icon in the placeholder to insert your own image. WEB.
Bill Wolohan Bennett Adelson
IT 211 Project Integration and Deployment Lab #11.
Joe Hummel, PhD Dept of Mathematics and Computer Science Lake Forest College Lecture 2: Working with Visual.
Visual Studio 2005 Team System: Building Robust & Reliable Software Tejasvi Kumar Technology Specialist - VSTS Microsoft Corporation
1 Data Bound Controls II Chapter Objectives You will be able to Use a Data Source control to get data from a SQL database and make it available.
Building Robust and Reliable Software Jason Anderson, Microsoft
Plug-in Development Environment. Session Outline Tools Installation Configuration New Project Basic Debugging Remote Debugging.
NOTE: To change the image on this slide, select the picture and delete it. Then click the Pictures icon in the placeholder to insert your own image. WEB.
Visual Studio 2005 Team System: Enterprise Development and Test Sean Puffet Microsoft Ltd
DEV 303 Visual Studio "Whidbey" Enterprise Tools: Source Control and Work Item Tracking Brian Harry Product Unit Manager Microsoft Visual Studio.
Expression Web 3... now with TFS!. What is Expression Web 3? Professional web design and development tool Create standards-based Web sites faster & easier.
Introduction to Eclipse CSC 216 Lecture 3 Ed Gehringer Using (with permission) slides developed by— Dwight Deugo Nesa Matic
Prashant Sridharan Lead Product Manager, Visual Studio Visual Studio 2005.
CSCI 6962: Server-side Design and Programming Database Manipulation in ASP.
Visual Studio 2005 Team System Winning the testing space with advanced testing tools Eric Adams Program Manager Visual Studio 2005 Team System Microsoft.
DEV 301 Visual Studio Team System Tom Arnold Program Manager Microsoft Corporation “Enabling Better Software through Better Testing”
Taking Control of Visual Studio through Extensions and Extensibility Anthony Cangialosi Senior Program Manager Lead Microsoft Corporation DEV311.
Joe Hummel, PhD Dept of Mathematics and Computer Science Lake Forest College Lecture 2: Working with Visual.
Teach.NET Workshop Series Track 4: AP Computer Science with.NET and J#
® IBM Software Group © 2007 IBM Corporation Module 1: Getting Started with Rational Software Architect Essentials of Modeling with IBM Rational Software.
Visual Studio Team System overview Pierre Greborio Software Architect – PEWay Microsoft MVP – Solutions Architect.
Visual Studio 2005 Team System: Enabling Better Software Through Testing Tejasvi Kumar Technology Specialist - VSTS Microsoft Corporation
DEV311 Delving into Visual Studio 2005 Team Edition for Software Testers Ed Glas Group Manager, Web and Load Testing Microsoft Corporation.
Visual Studio 2005 Team System: Software Project Management Brian A White Microsoft
Introducing Visual Studio 2010: What It Is and Why You Should Care
Visual Studio 2005 C#VBC++J#WebExpress Visual Studio Standard Edition Visual Studio Professional Edition Novices Enthusiasts Students Hobbyists Part-Timers.
Object-Oriented Application Development Using VB.NET 1 Chapter 2 The Visual Studio.NET Development Environment.
1 Introduction Bindia Hallauer & Ajay Sudan Product Management, Visual Studio Team System Microsoft Corporation.
Neil Kidd Developer Tools Technical Specialist Microsoft UK.
DEV466 Microsoft Visual Studio 2005 Team System: Enterprise-Class Source Control Doug Neumann Program Manager Visual Studio Microsoft Corporation.
Visual Studio 2012: A Complete IDE (Debugging & Source Control) Kevin Howell.
TEAM FOUNDATION VERSION CONTROL AN OVERVIEW AND WALKTHROUGH By: Michael Mallar.
Tools to support the Software Development Process Simon Davies Microsoft Ltd
Connect with life Tejasvi Kumar Developer Technology Specialist | Microsoft India
YOUR LOGO Phase 2 International Providing critical business software solutions at affordable prices.
WEB330 ASP.NET: Using Microsoft Visual 2005 Studio Team System to Build Enterprise Web Applications Brian Goldfarb Product Manager Web Platform and Tools.
Chapter 2: The Visual Studio.NET Development Environment Visual Basic.NET Programming: From Problem Analysis to Program Design.
Introduction ITEC 420.
Building Enterprise Applications Using Visual Studio®
Chapter 2: The Visual Studio .NET Development Environment
DEV260 Microsoft Visual Studio 2005 Team System: Managing the Software Lifecycle with Visual Studio 2005 Team System Bindia Hallauer Senior Product Manager.
Visual Studio 2005 “Personalized productivity”
Tech Ed 2004 © 2004 Microsoft Corporation. All rights reserved. This presentation is for informational purposes only. Microsoft makes no warranties, express.
DAT381 Team Development with SQL Server 2005
Double click Microsoft Visual Studio 2010 on the Computer Desktop
Mark Quirk Head of Technology Developer & Platform Group
Presentation transcript:

Joe Hummel, PhD Dept of Mathematics and Computer Science Lake Forest College Lecture 3: Visual Studio 2005 Team System

VSTS Visual Studio 2005 Overview of Visual Studio editions Overview of new features

VSTS 2005 Visual Studio 2005 Editions Express: free IDE, one for each language / platform Standard: base line IDE (one for all languages and platforms) Professional: adds tools, SQL Server Express for database access Team Editions: Three separate software engineering editions: Architect, Developer, Tester Team Suite: All three software engineering editions in one package Team Foundation Server The server-side component for the team editions / suite Source code control, process management, task/bug lists, reporting, etc. Built-in support for two SE processes: Agile and Waterfall MSDNAA provides all editions of VS 2005, however TFS is trial only…

VSTS 2005 New Features in VS 2005 Here are some of the more interesting new features in Professional & Team System editions: –Class Designer –Object Test Bench –Refactoring –Code snippets

VSTS 2005 Class Designer Class Designer allows you to design classes visually –much like UML class designer tools –Project menu, Add New Item…, Class Diagram…

VSTS 2005 Object Test Bench Object Test Bench lets you interact with objects without code –right-click, instantiate, inspect data and call methods –identical to the idea behind the BlueJ Java IDE –View menu, Other Windows…

VSTS 2005 Refactoring Refactoring provides tool support for redesigning code –renaming, turning code into methods, encapsulating fields, etc. –refactoring is an important aspect of Agile programming –View code in Editor pane, Refactor menu… public class Sailboat { private string m_Name; // private field public string Name // public property { get { return this.m_Name; } set { this.m_Name = value; } } public class Sailboat { private string m_Name; // private field public string Name // public property { get { return this.m_Name; } set { this.m_Name = value; } }

VSTS 2005 Code Snippets Code snippets are templates for common coding idioms –equals, foreach, properties, constructors, try-catch-finally, etc. –Edit menu, IntelliSense, Insert Snippet…

VSTS Visual Studio 2005 Team System Overview of Team System Overview of Team Foundation Server Common use cases

VSTS 2005 Visual Studio Team System (VSTS) Microsoft’s toolset for software engineering –Design –Implementation –Testing –Profiling –Deployment –Maintenance –Management –Collaboration VS Team Edition VS Team System Foundation Server VS Team System Foundation Server … VS Team Edition MS Project SQL Server MS Excel

VSTS 2005 VSTS Capabilities Dynamic Code Analyzer Visual Studio Team Edition for Software Architects Static Code AnalyzerCode ProfilerUnit Testing Code Coverage Visio and UML ModelingTeam Foundation Client VS ProClass Modeling Load TestingManual Testing Test Case Management Application Modeling Logical Infra. Modeling Deployment Modeling Visual Studio Team Edition for Software Testers Visual Studio Team Edition for Software Developers Visual Studio Team Foundation Server

VSTS 2005 VSTFS Visual Studio Team Foundation Server –integrates with VS, IE, MS Project, MS Excel, cmd-line –enterprise-level version control, reporting, tracking, etc. –built on top of SQL Server 2005, web services, etc. –example: –real source code version control, not Visual SourceSafe Change ManagementWork Item Tracking ReportingProject Site Visual Studio Team Foundation Server Integration ServicesProject Management MS Project SQL Server MS Excel VSTE IE

VSTS 2005 Common Use Cases of VSTS Initially, the most common use cases are: –Unit testing –Code coverage –Source code control NOTE: unit testing and code coverage are self-contained within VSTS; source code control requires interaction with VSTFS.

VSTS 2005 (1) Unit Testing First, create a test harness (one per class?): –Test menu, New Test… –adds a *new* project to the current VS solution

VSTS 2005 Writing a Test Harness A test harness == 1 or more test classes & methods –attributes identify test harness to VSTS testing engine –if test method returns normally, considered a successful test — if test method throws an exception, considered a failure [TestClass] public class SailboatTest { [TestMethod] public void TestMethod1() { Sailboat s; double speed, expected, diff; s = new Sailboat("A2", 36.33); speed = s.Hullspeed(); expected = 8.08; diff = speed – expected; Assert.IsTrue(Math.Abs(diff) < 0.1); }. } [TestClass] public class SailboatTest { [TestMethod] public void TestMethod1() { Sailboat s; double speed, expected, diff; s = new Sailboat("A2", 36.33); speed = s.Hullspeed(); expected = 8.08; diff = speed – expected; Assert.IsTrue(Math.Abs(diff) < 0.1); }. } public class Sailboat {. } public class Sailboat {. }

VSTS 2005 Executing a Test Harness Various ways to execute your test harness: –Select test project as startup, F5 –Test menu, Start Selected Test Project with Debugger –Test menu, Windows, Test Manager, check individual tests to run, right-click on pane, select Debug Checked Tests Test results are collected & displayed –results also saved in a TestResults folder –useful for nightly builds and test runs, then view results in the morning

VSTS 2005 Unit Test Wizard Unit Test Wizard will stub out test methods for you Test Menu, New Test, Unit Test Wizard… –No silver bullet, writing good unit tests is hard work…

VSTS 2005 (2) Code Coverage How much of the code did your tests exercise? VSTS will collect this data, just need to configure: –in Solution Items, double-click.testrunconfig –select Code Coverage from list –select.exe containing class(es) you are testing –Apply and Close –run test harness without debugger (Ctrl-F5) –Test menu, Windows, Code Coverage Results drill-down into.exe & expand classes statistics on % covered & uncovered double-click on methods to view code

VSTS 2005 (3) Source Code Control Source code control tracks changes to code & other items –VS 2005 Team System acts as client — requires Team Explorer plug-in –VS 2005 TS clients then interact with VS Team Foundation Server Visual Studio Team Foundation Server SQL Server Visual Studio Team Edition / Suite Team Explorer

VSTS 2005 Connecting to TFS First, connect using the Tools menu: –specify the server, and the project(s) to open

VSTS 2005 Team Explorer Once connected, your Team Explorer window is the key –right-click on server to connect to existing projects –right-click on server to create new projects –double-click on project's Source Control to open Source Control explorer –etc. Visual Studio creates workspaces on the client to keep track of client-side items checked-in & out of TFS –see File menu, Source Control, Workspaces…

VSTS 2005 Creating a New Team Project To create a new project, right-click on server in Team Explorer –you must have admin rights in that TFS

VSTS 2005 First Time Checking-in You just created a new Team project, and want to check-in… Open existing solution, right-click, add to Source Control –workspace is created to maintain association with TFS –when you're ready to check-in, File menu >> Source Control >> Check-in

VSTS 2005 First Time Checking-out You want to join an existing project, and need to check-out… Create a new workspace & use Source Control explorer –File menu >> Workspaces >> Add… –Team Explorer >> Source Control >> right-click >> Get Latest Version –open local copy of solution

VSTS 2005 Working with Team Projects Just work locally as you normally would… –when you edit items, VS will automatically check-out –notice icons in Solution Explorer –you are responsible for check-in — right-click on item in Solution Explorer or batch check-ins using Source Control explorer

VSTS What's Next? Lab exercise #3