-
Unit Testing & Test-Driven Development Courseware for Visual Studio 2010
Well, like I mentioned in my last post, I’m planning to publish a lot of the old courseware that I’ve developed over time. The idea is to share the materials that I’m no longer using with the good folks on the internet rather than to have it all sitting around collecting virtual dust on my…
-
Call to Console.WriteLine() crashes Visual Studio 2010 Load Test Agent
This doesn’t make a shred of sense to me but I’ve been working on running some MSTest unit tests as part of a Visual Studio 2010 Load Test on a VS2010 Load Test Rig and ran into a very weird problem. Most of the unit tests behave perfectly when run as part of a load…
-
Speaking at DevTeach Ottawa: November 2 through November 4, 2011
Some more news. I’ll be speaking at DevTeach in Ottawa, ON. The schedule isn’t 100% set in stone yet but the conference runs from 11/2/2011 through 11/4/2011 and I’ll be giving two talks. Here are the abstracts: Too Slow: Use VS2010 Profiling & Load Testing to Manage Performance Issues You thought you knew how to…
-
Speaking at VSLive Redmond on October 20, 2011
Updated 10/24/2011: the slides and code samples for these talks are available here. FYI, I’ll be speaking at VSLive in Redmond, Washington on October 20th, 2011. While I’m there, I’ll be giving two talks: 1) “Team Foundation Server 2010 Builds: Understand, Configure, and Customize” and 2) “Design For Testability: Mocks, Stubs, Refactoring, and User Interfaces.”…
-
Article: Levels of Team Foundation Server 2010 Build Automation
My article discussing how to adopt Team Foundation Server 2010 build and the various levels of build “awesomeness” is up at VisualStudioMagazine.com. The basic gist is how to think about going from no automated builds to achievable levels of automated builds using Team Foundation Server 2010 (TFS2010) and what that process would be. For TFS2010…
-
Silverlight Coded UI Tests with UserControls & AutomationProperties
Summary: Silverlight Coded UI tests don’t work properly against UserControls unless you specify either AutomationProperties.Name or AutomationProperties.Id on the UserControl. (Thanks to Howie Hilliker @ Microsoft for his help figuring out this problem!) With the release of Visual Studio 2010 Feature Pack 2, we now have the ability to create Coded UI Tests against our…
-
VSLive Vegas: Top 7 Lessons From My First Big Silverlight Project
I’m catching up on my blogging today and I’m posting stuff that should have gone up a while ago. A few months back, I did a Silverlight best practices session at VSLive Las Vegas. Top 7 Lessons Learned On My First Big Silverlight Project Silverlight is tricky. You’d think it’d be just like writing any…
-
TFS2010 Build: How to access Platform/Configuration variables in a build script
The Problem: You have a Team Foundation Server 2010 Team Build that compiles a solution (.sln) with more than one Platform and Configuration. When your build is compiling the Platform/Configuration combinations, you need to know which combination is currently being processed so that you can perform custom build logic in the workflow activities. The Solution:…
-
Article: Web Performance Testing with Visual Studio 2010
I wrote an article for Visual Studio Magazine a while back on Web Performance Tests in Visual Studio 2010. It’s part 1 of 2. Enjoy. In web performance tests, the addition of Loops and Conditions enables developers to write more complex and intelligent tests against their applications. For load tests, the addition of 64-bit agents…
-
Presentation and Code from my TechEd 2010 Session – “Top 10 Mistakes in Unit Testing”
I just got back from TechEd 2010 New Orleans and as promised, here’s my slide deck and sample code. Thanks to all of you who came to my session. If you missed the session, the video has been posted at TechEd Online. -Ben