Zlatko Knežević Developer Evangelist zlatko.knezevic@microsoft.com

Preview:

Citation preview

Visual Studio 2010 ALM tools

Zlatko KneževićDeveloper Evangelistzlatko.knezevic@microsoft.comhttp://msforge.net/blogs/blackdwarf/

Understanding your code

Dealing with Existing Code

− Existing code can be difficult to understand years, months, event days after its creation.

− Maintaining code quality and architectural control to reduce complexity is difficult.

How Will You Know?

− Are you building the right system?

− What will break when you start adding code?

− Does the new implementation match the design?

Using dynamic, interactive visualization tools, as well as tried and true UML diagrams, you can…

Visualize Code

Managing Code “Drift”

− Code can “drift” away from the original design and intent− Inadvertent

dependencies− Code evolution

Layer Diagrams

− Visualize design intent.

− Validate implementation against intent.

Show

−What you want−What you mean−What you need

Communicate Intent

− Increase ratio of success−Layer diagrams −UML support

− Model first or code first

Unified Modeling Language (UML)

− UML Designers− Activity− Class− Component− Sequence− Use Case

− New Modeling Project− Work Item Integration

Architectural Exploration

demo

Comprehend your projects

Project Management

− Generally painful− Unrealistic

schedules− Resources not

people

Shouldn’t it be …

− individuals over processes?− working software over

documentation?− collaboration over

negotiations?− responding to change over

the plan?

?

Visual Studio 2010 will enable you to…

− Plan projects with confidence

− Run projects with greater visibility

− Diagnose root causes and course correct your projects with transparency

Plan Projects More Accurately

Agile Planning Workbooks

− Out-of-the-Box support for Agile.

− Baked in best practices.

− Two workbooks:− Product Backlog

Workbook− Iteration Backlog

Workbook

Product Backlog

− Microsoft Office Excel workbook.

− Integrated with Team Foundation Server.

− Enables easy entry of user stories.

Iteration Planning

− Compare current plan to previous results.

− Enables easy load balancing across team.

− Built-in capabilities for accounting for planned interruptions.

Run Projects with Visibility

The Right Tools

− Track progress by knowing what your team is doing.

− Gather data continuously.− Tools should help not

hinder your progress.

Its All Related

− Work item relationships provide traceability.

− Relationships can expose early indicators of trouble.

Manage Your Work Anywhere

The Right Tool for the Job

− Out-of-the-Box reports leverage SQL Server 2008 Reporting Services− Rich and powerful

− Excel Reports can be run from Work Item Queries− Fast and flexible

− SharePoint Dashboards enable publishing of reports− Familiar and capable

Microsoft Office Excel Reporting

− Easy to use, flexible reporting tool.

− Low-overhead − Familiar user

experience− Rich

customization options

SharePoint Dashboards− Choose…

− SharePoint Foundation− SharePoint Server

− Out-of-the-Box dashboards for common needs.

− Customize and create new dashboards.

Doug Seven
This ALMOST answers the So What? questions. Tell me how it extends the reach (i.e. KPIs on dashboards, accessible to stakeholders, real-time, etc.).

Improve your testing

Why Can’t a Bug Be Fixed?

− Poorly documentedsteps to reproduce

− Lack of visibility into the tester’s actions

− Environment differences

Developer-Tester Ping-Pong

− Bug is batted back and forth.

− A lot of wasted effort.− Collaboration is low.

3Create actionable bugs

Quickly discover theroot cause of any bug

Automate the discovery of a regression

Create Actionable Bugs

Microsoft® Test Manager 2010

• System Info• IntelliTrace™

•Video Capture• Steps Performed• System Info• IntelliTrace™

Diagnostic Data Adapters

An

ACTIONABLE BUG contains enough information

that you are able to take IMMEDIATE ACTION

to fix the bug.

Quickly Discover theRoot Cause of Any Bug

IntelliTrace™

IntelliTrace enablescollaboration

between developers and testers by

creating a sharedhistorical

perspective.

Like a DVR for Developers

− Debug history with DVR-like functionality

− Examine code execution

− Identify issues that cause bugs

Automate Functional Testing

70%of all functional testing is still done manually.

Automate Testing with Coded UI Tests

− Automate functional tests.

− Record actions or import action recording from test.

− Easily repeatable.

Better testing with dev-test collaboration

demo

Team Foundation Server (and for all)

Team Foundation Server for Everyone

Basic AdvancedLaptop Server

SQL Server Express

SQL ServerStd./Ent.

Simple SCM Complex Integration

Small Projects Portfolio

Lone Developer 1,000-person Teams

Team Foundation

Server

Why aren’t you

already using

Team Foundation

Server?

…is too expensive.

Team Foundation Server…

…is too complex.

…requires a server.

…is too expensive.

Team Foundation Server…

…is too complex.

…requires a server.

Team Foundation Server 2010 is included with…

Team Foundation Server 2010

− Retails for $499 USD− Five users without

CALs− Add users with CALs

…is too expensive.

Team Foundation Server…

…is too complex.

…requires a server.

New Configuration Wizard

− Easy to use− Fast configuration− No requirement for…

− Windows SharePoint Services

− SQL Server Reporting Services

…is too expensive.

Team Foundation Server…

…is too complex.

…requires a server.

Client and Server Support

− Supports client installations− Windows 7, Windows Vista

− Grows when you grow− Client OS− Single server− Multi-server farms

− x64 Support− Supports Java development

Moving from Visual SourceSafe

Visual SourceSafeConverter

UserMap.xml

Settings.xml

VSS Converter

• Migrate what you want

• Into a single team project or into multiple

state of the art  –noun the latest and most sophisticated or advanced stage of a technology, art, or science.

Branching &Merging

VersionControl

Check-inPolicies

public Foo() { …}

public Foo() { …}

public Bar() { …}

Friendly and familiar

Rich Client Support

− Full featured integration in Visual Studio− In box command-line client− Power Tool provides Windows Shell integration

− Eclipse plug-in support for Java developers− MSSCCI provider brings support to tons of other

great clients like Visual Basic 6.0

–noun the latest and most sophisticated or advanced stage of a technology, art, or science.

state of the art

BuildAutomation Work Items

public Foo() { …}

public Foo() { …}

public Bar() { …}

TO DO…

Build Without “F5”

F5

Build Automation

− Integrate early, integrate often− Continuous Integration

− Builds on every check-in− Gated check-in to control quality− Rolling builds to control

frequency− Run build-verification tests easily− Easily customize to meet your

needs

Clean-up Your Backlog

AddRSSFeed

Debug Shopping Cart

BeatDJDM at Forza 3

TestLogin

Security

Manage All Your Work

− Work Item Tracking enables you track everything you need to manage:− Tasks− Bugs− User Feedback− Feature requests

− Centralized for easy, shared access

Manage Work Items Your Way

− Rich integration in Visual Studio− Full featured synchronization lets you

work in Microsoft Excel or Microsoft Project

− Team Web Access lets you get to your work items from the web

Questions?

© 2010 Microsoft Corporation. All rights reserved. Microsoft, Visual Studio, the Visual Studio logo, and [list other trademarks referenced] are trademarks of the Microsoft group of companies.

 The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation.  Because Microsoft must respond

to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. 

MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED, OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.