Skip to main content

VSTS 2010: Architecture Edition Presentation

Recently, I had the pleasure of co-presenting (probably generous...I more just rode shotgun :) on VSTS 2010: Architecture Edition with Randy Pagels, Developer Platform Technical Specialist with Microsoft. We spoke to an impressively-attended internal user group at Cincinnati Financial. Thank you Randy for the invitation to co-present and Cincinnati Financial for having us in.

To be honest, I'm not a big fan of the current 2008 Architecture Edition. Too rigid. Doesn't roll with the punches very well. It's more of a lay-down-the-law boundaries at the beginning of the project without the flexibility of absorbing feedback and instituting ongoing, evolutionary change.

The new version seems much more flexible and functional. It imposes a model / architecture but can be (and expects to be) adjusted easily over the life of the project. One can also institute a confirmation check of the code against the model during the automated build. It's less overbearing and more of a quality gate and feedback mechanism: "Uh, excuse me, you're directly accessing the data layer from the presentation layer...? Nope, sorry. You need to go through the interface / business layer to ensure...Thank you."

From the presentation, we fielded a lot of great questions. Here are the responses Randy and I compiled that we needed to take away. Thanks to Randy and the product group for their responses:


Q. Can we modify the TSWA project home page to include 2 WI query results: Individual, Team?
A. There’s not much you can do with TSWA 2008 but there’s a new feature in TSWA 2010 (which is now a part of TFS 2010) that might accommodate this request. In TSWA 2010, you will be able to customize the “Work Items Summary” section on the home page(talk about nice!) to select a stored query. Even though the Limitation here is that you can’t have more than one query showing, you can select a query that might have a filter that looks like “AssignedTo = @me OR AreaPath=Team”.

Q. Can a Coded UI test, test multiple browsers during a build? e.g. Mozilla, IE6, 7, 8
A. We support IE7 and IE8. The support for FireFox 3.0 will be at CTP level by RTM time. There are no plans for other browser support from product team at this point but there is extensibility support here for other 3rd parties/partners to add the support.

Q. Does code need to compile in order to produce the sequence diagram?
A. Generally speaking, the code must compile for sequence generation to work. Since we use the language services which use a sort of background / delay compile system – you will get a generated diagram for the parts of your code that does compile. For the parts that don’t compile, all bets are off since the language services do not guarantee behavior at that point.

Q. Can you update the underlying DGML XML and have that change reflect in all instances? Sort of a search/replace?
A. Not totally clear on this, but in general, if you update the raw XML behind a DGML graph, it will be immediately reflected in the graph.

Q. Is there any Visio import UML?
A. Yes, this will be provided as a PowerTool at RTM.

Q. Is there any XMI import UML?
A. Yes, same story as the Visio Import.

Q. Is there state management / authentication persistence support within SuperPreview?
A. Since this runs in an actual browser session and will run anything in the “OnLoad javascript” call so if there is anything going on in there it will execute and then take a snapshot of the page. An image is produced after you specify the URL – it is a snapshot. You have to change the URL to change the side by side layout. Unfortunately, there’s no way currently for SuperPreview to work with web pages that are behind a log-in (if I’m interpreting your question, correctly). The page must be publicly accessible. This is a pretty high priority item for the PG with the next version of SuperPreview.

Q. Does Test Essentials require agent/service/install onto QA boxes?
A. Yes, through small services called “Data Collectors”

Q. What's new in unit tests for VSTS 2010?
A. There are some minor enhancements, such as support for categories instead of test lists, performance improvements like using more than one core. Simplifying deployment that will result in improved performance as well. Unit Tests can now be extended with custom attributes (like privilege escalation attribute). The unit test type can be extended to provide custom coded tests (this is how coded UI is implemented)

Some good discussion: on Managed Extensibility Framework (MEF) at http://www.codeplex.com/MEF

Comments

Popular posts from this blog

Rollback a Ooops in TFS with TFPT Rollback

Rhut roe, Raggie. You just checked in a merge operation affecting 100's of files in TFS against the wrong branch. Ooops. Well, you can simply roll it back, right? Select the folder in Source Control Explorer and...hey, where's the Rollback? Rollback isn't supported in TFS natively. However, it is supported within the Power Tools leveraging the command-line TFPT.exe utility. It's fairly straightforward to revert back to a previous version--with one caveot. First, download and install the Team Foundation Power Tools 2008 on your workstation. Before proceeding, let's create a workspace dedicated to the rollback. To "true up" the workspace, the rollback operation will peform a Get Latest for every file in your current workspace. This can consume hours (and many GB) with a broad workspace mapping. To work around this, I create a temporary workspace targeted at just the area of source I need to roll back. So let's drill down on our scenario... I'm worki...

Switching the Parents to Ubuntu...?

I spent a half hour or so recently on the phone walking my Mom through a technical issue. Tentatively, I diagnosed her issue as a hard drive failure. She brought it over on her last visit and sure enough, the Dell XPS 450 from circa 1999 sounds like a bad coin-operated laundry at full capacity. I was aghast to discover she's running Windows 98. Ugh. Also, her recovery disk is just that--for recovery. I don't believe I'll be able to re-install Win98 on a new hard drive. That, coupled with the end of Microsoft (and Dell) support for Win98, got me thinking about Linux. (and she's not intense about her computing needs...and she doesn't want to spend much money...) I've been reading good things about switching one's parents to Ubuntu. Any thoughts out there?

VSTS Tester Demo Follow-ups

Last week, I delivered a VSTS 2008 Tester Edition demo to a prospective client. Following up on a few questions to which I didn’t know the answer: Q. Can I use Subversion with TFS? A. I get this question all the time from developers. It’s a perfectly valid question. The answer is no…but yes…sort of. The version control repository (and all data) must remain SQL Server. Yes, it’s proprietary. Further, if you plan to use TFS in your software development environment, but choose not to leverage it for version control, it severely limits the usefulness of the information elicited from TFS (because you’re not feeding in the crucial VC data). If you’re not leveraging VC in TFS, you’re probably not leveraging Team Build either. That said, while a fully-integrated TFS for ALM and SCM is the ideal, there’s a compelling argument to leverage TFS as a repository for requirements, scenarios, test cases, functional and load testing as well as defect tracking. TFS is an excellent repository to s...