BrianGenisio

Stories submitted by BrianGenisio

My Year With TDD(brian.genisio.org)

submitted by BrianGenisioBrianGenisio(1000) 3 years, 7 months ago

It's been over a year now since I have been developing using TDD (Test Driven Development) as my primary development practice. I wanted to reflect on what it has done for me professionally. In reality, the past year has been great for my professional career in many ways. read more...

1 comment |category: |Views: 525

tags: another

Build Your Own Spy Utility(brian.genisio.org)

submitted by BrianGenisioBrianGenisio(1000) 3 years, 7 months ago

There are a lot of spy utilities out there: Spy++, ManagedSpy, UISpy, etc. They all work OK, but I have found on many occasions that I wanted my spy utility to do X, Y or Z. So, I built my own spy utility. Start with this form, and add any spy functionality that you need to it. read more...

add a comment |category: |Views: 47

tags: another

An easy way to test your GUI using NUnit(brian.genisio.org)

submitted by BrianGenisioBrianGenisio(1000) 3 years, 7 months ago

With this simple technique, functional (or unit) testing from the GUI is very easy. Take control of the problem yourself with this code example, and customize the tests to your application. I have been using this technique for over a year now with great results. read more...

add a comment |category: |Views: 49

tags: another

UI Automation not fit for command!(brian.genisio.org)

submitted by BrianGenisioBrianGenisio(1000) 3 years, 7 months ago

I really wanted to like the .NET UI Automation framework for unit testing my GUI (with a mock back-end). Unfortunately, I believe it is a major FAIL! read more...

add a comment |category: |Views: 11

tags: another

Why you REALLY need to think about your interfaces(brian.genisio.org)

submitted by BrianGenisioBrianGenisio(1000) 3 years, 8 months ago

When you write your interfaces in C#, you might be casting them in stone. You REALLY need to think about how you write your interfaces. Avoid interfaces with concrete parameters such as Dictionary<> and List<> and prefer interfaces such as IDictionary<> and IList<>. Here is why! read more...

add a comment |category: |Views: 683

tags: another

"Mock" Backend for Castle ActiveRecord(brian.genisio.org)

submitted by BrianGenisioBrianGenisio(1000) 3 years, 8 months ago

Testing code that uses Castle ActiveRecord business objects requires some sort of back end for persistence. This approach allows you to use a "mock" back end with ActiveRecord so that you don't need to rely on a file system or database service to unit test your services. read more...

add a comment |category: |Views: 76

tags: another

Have you seen the new ANTS profiler?(brian.genisio.org)

submitted by BrianGenisioBrianGenisio(1000) 3 years, 8 months ago

Red-Gate has put out a new version (4.0) of their ANTS profiler. The updates to the performance profiler blew me away. read more...

add a comment |category: |Views: 34

tags: another