Thoughts on Software Development, .Net, OOP, Design Patterns and all things cool
Browse by Tags
All Tags »
TDD (
RSS)
-
|
I have a scenario where I have a private method that needs to be tested and the only way I can get to that method is by calling another public method and exercising all of its logic. This private method has a few different pathways and I would like to...
|
-
|
-- UPDATE See text in red below -- Ok, I am in NO way trying to say that this is either Rhino's issue or MSTest. I am simply blogging this with the intent that someone can shed some insight as to what may be going on. Although, since I know that the...
|
-
|
I finally got around to downloading and playing with the forthcoming release of Rhino Mocks v3.5 (more info here from Ayende). The major changes to this version is that the syntax has been revamped to allow for the new language features in .Net 3.5. ...
|
-
|
While putting together one of my last posts one thought kept scrolling through my head. This was the idea that when you modify your code, you need to make sure your that the intent of your tests still are correct. I know this concept may seem...
|
-
|
If you happen to be using Linq2Sql and are also someone who tests, I have something for you. You can use Linq's DataContext to create your database and then populate it with test data prior to each test run. Note that you can do this same...
|
-
|
Anyone that is a practitioner of testing or specially TDD knows that the quality of your tests are a direct measure in the assumed quality of your tested code. Better put, if your tests suck, you can assume very low quality from your code. So what...
|
-
|
Over the past few weeks I have worked on a few products for my client that will be used as API's. These API's will be used by either their own (external) clients or other internal departments. Working on these projects made me think...
|
-
|
Let me just say this slowly.... Simply because your tests 'pass' does not mean your code has been proven correct or that it works. I know from time to time the notion that 'because I test, my code is solid' floats around the blog-a-sphere...
|
-
|
***** Update ***** This issue is directly related to a #R 4 EAP issue. I was using build 755 and this was an issue. As of build 762, this is no longer an issue. ******************** Today I encountered some odd behavior when trying to run some tests against...
|
-
|
How many times as developers have we made list of things we needed to work on. Most of the time they are 'tasks' in some sort of task management system. However, we do not have one of these such systems at work. So I decided...
|
-
|
Test first Test during Test after Answer, Test. No matter what style of testing you believe in, they all share one common trait. They all test your code. So, what is the point of this post you may ask? Simple. To me, it does not matter how your tests...
|
-
|
A buddy of mine decided to finally give testing a try (not true TDD, but still writing tests) and he made me laugh by some of the statements/observations he made. Where do I start? This feels weird! Am I doing this right? How much is enough? When he mentioned...
|
-
|
***** DISCLAIMER ***** The techniques and information here were not all thought up by me. I got a lot of this from Scott Hanselman's screencasts, and at looking at other MVC projects. I am only putting this into a post to have a single point of reference...
|
-
|
Recently I was chatting with a friend of mine and he asked if a single developer could be successful following TDD on a team that does not follow TDD. My simple answer was YES, they can. But there are a few things you must consider..... How can they make...
|
-
|
Over on the Alt.Net mailing list ( here ) the topic of where to put your unit tests was the hot topic a few days ago. This is a topic that I have debated with various people over the past few years. With all the debates I have had, it is clear to me that...
|
More Posts
Next page »