Browse by Tags

All Tags » Testing/Test Tools (RSS)
I was using TypeMock to mock some test code, and I was contemplating the setup. I have a method, which is going to instantiate an object. This static object calls some configuration code to setup itself with data, which I could mock to return a specific...
Posted by bmains | with no comments
Filed under:
You may have noticed that I tend to shift subjects quite a bit. I talked about Agile a while ago, and have moved away from talking about it. I needed to grow and learn about the processes, which I have done a little. I'll always be a student in this...
When using TDD practices, you may think ahead a little bit to a situation in the future. For instance, suppose you have this: public class CustomerClassification { public CustomerClassification(string name, string type) { this.Name = name; this.Type ...
Posted by bmains | with no comments
Filed under:
To a point, LINQ to SQL works well with unit testing. When the LINQ-to-SQL objects are in a detached state (either not submitted to the database, or detached through the detach command) and there isn't a chance of accidentally updating records or...
Posted by bmains | with no comments
Filed under: ,
So, to start out, I thought a little bit about the initial setup for how I could do some testing on the server side of the control. You have to understand the inner workings of server controls to understand. At the end of the process, no matter whether...
I've been using a tool called TestMatrix, which has a lot of features that Test-Driven Developers will love. This tool features a test explorer that contains a tree view listing of all the unit tests in a unit test project. Simply select one of the...
Posted by bmains | 2 comment(s)
Filed under:
As I've been working iteratively during the testing process, I've come across several problems that I've experienced, mostly that deals with how I work. The primary issue you have to be concerned with, if you follow my "using a SQL 2005...
Posted by bmains | with no comments
Filed under:
Recently I came across the issue of testing against the database. The database provides its own unique challenges, as you need to ensure a standardized set of data exists within the database, so you can test certain conditions in your code. If you don't...
Posted by bmains | with no comments
Filed under:
Currently, I have a couple test projects using NUnit. I have them setup so that I use the startup program to be the NUnit-GUI.exe file. This means that when I click the run button, the NUnit GUI runs, which is great. But NUnit loads the last loaded assembly...
Posted by bmains | with no comments
Filed under: