How To: Extend the Network Types for a Visual Studio Load Test

Out-of-the-box Visual Studio allows testers to define a network mix for load tests with the following network profiles: LAN T3 6.0 Mps T1 Cable/DSL 1.5Mbps Cable/DSL 768k Cable/DSL 384k Dial-up 56k Dial-up 33.6k Dial-up 28.8k If we want to add an additional entry, say “Dial-up 128k”, we’ll have to add a new network profile definition…

1

Unit testing session

During TechEd’04 in Amsterdam I attended a Birds Of a Feather session on how to integrate unit testing into the Software Development Life-Cycle. For those who are unfamiliar with the format of these sessions, it’s a speaker moderated discussion, where we can ask questions and have them answered and commented by the speaker and other…

3

Unit Testing User Interfaces (Updated!)

Usually one of the major difficulties a developer faces when writing unit tests is how to write test code for User Interfaces. This is particularly important when we’re doing Test-Driven Development. The Visual Studio .NET IDE makes it difficult to unit test Windows Forms applications, because if we want to keep the test code decoupled from the…

7

Loading .config files in NUnit

Last week I gave a presentation at Microsoft DevDays 2004 in Lisbon on Test-Driven Development. A day later I got this interesting question: “(…) if I’m testing a DLL assembly that uses a .config file to read in data, when I run the tests, NUnit loads it’s own .config file and all my tests fail….

8

Testable code

Previously I mentioned that one of the most important benefits I get from using TDD is that it drives me to write more testable code. I’ve been thinking quite a lot about this, and another recent post from Chris Dickens made we even more aware of the importance behind writing testable code. Chris states:  “As…


TDD Adoption Numbers

Matt Hawley posted a few numbers in order to justify/support the adoption of TDD. I’ve found an interesting research paper on the subject, from Matthias Müller and Frank Padberg from the Karlsruhe University in Germany. Some of my personal views on the subject are: I do find there’s a slight overhead to developing Test-First. However…