Skip to main content

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 store “stuff”: risks, requirements, issues, defects, etc and relating all these items. So, while your shop won’t get 100% of the horsepower of TFS without leveraging VC, there are still benefits.

Q. In a Web Test (and Load Test), one can indicate the browser type and even break this out into a distribution (e.g. 50% of users are FF3; 50% IE7). What is this really testing? (Test menu >> Edit Test Run Configuration…Web Test…Browser Type)

A. Contrary to what we would drool over, this is not actually rendering the test in a given/different browser. This is just sending a browser-specific header to the web server and hence the testing engine. The web server will note the browser type (user agent) but it’s not like these settings will reveal (for example) HTML table tags mis-rendering in IE when they look fine under FireFox 3.x (you are using CSS, right?). Here’s a write-up describing how to install additional/new browser types.

Q. If we deploy our web site into a test environment, the base URI for the web tests will differ from that when administered on the local machine. How can we make the base URI dynamic/configurable?

A. Yes, one can make the base URI dynamic / data driven from (for example) configuration.

1. Record the test with a local instance

2. Right-mouse on the test selecting “Parameterize Web Servers”

3. Configure with meaningful names (TestEnvironment, UATEnvironment, etc.). I have to imagine this could be configured at build / deployment time but I haven’t done that.

image

Q. What Instant Messenger (IM) clients does the “Team Members” functionality support?

A. Right-mouse on Team Members (need SP1 for this functionality), Personal Settings, Collaboration, Change button. Live and Communicator are included. Beyond that, the interfaces are exposed and an MVP team created a Skype provider. Good write-up here.

Comments

SAM said…
Can I have the ppt or recording of that demo. I have ro showcase VSTS 2008 to one of my client in context with defect mngmnt. and tracking.
Jeff Hunsaker said…
@SAM I didn't capture this demo but would recommend Randy Pagel's Resource page on his site. He has several presentation decks there...several of which cover defect tracking. That said, you likely want to demo/highligh Visual Studio/TFS 2010. A primary tenent of 2010 is testing.

Popular posts from this blog

Get Your Team Foundation Server Hate On!

[Google ranking skyrockets... ;-)]

I'm a big fan of TFS/VSTS. However, there are a good pocket of folks who take issue with the way TFS handles or implements a certain feature. Well this is your chance to vent!

I'm planning a presentation around the "Top 10 TFS/VSTS Hates and How to Alleviate Them"...or something along those lines. But I need your help. Post a comment below detailing your dislike. If it's legitimate, I'll highlight it in the presentation and [hopefully] provide an alternative, resolution, or work-around.

Thanks in advance!

Update 7/19/2008: Version Control and Microsoft

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 workin…

Shrinking WSS (Sharepoint) SQL Server Log Files

Yesterday, while migrating a source repository from StarTeam to TFS, I received the following error:
"TF30042: The database is full. Contact your Team Foundation Server administrator."Excuse you? Sure enough, my 100+ GB drive was full on the server. But I'd only migrated around 1000 items. Surely SQL wasn't consuming 100MB per file.

Turns out (yes, there was a lot of crud on the drive but...) the majority of the space, almost 40GB was being consumed by the Windows Sharepoint Services WSS Content data and log SQL Server files. Huh? I still need to investigate and understand why this portal, which is 100% unused, grew so large. Regardless, here's what I did to resolve:

Since this is not yet a production database, I flipped the SQL recovery option from Full to Simple for WSS Content and several other databases. Detail here and here.
Executed the maintenance plan for all the databases to get backups and clear out some of these files. That didn't help much. The Auto_…