Yep, thougth so :( I've looked a couple of months ago and couldn't find even remotely anything similar. Too bad :( -- Vladan ... were ... they ... why the ... ...
Late to the party, but I agree with Chad, here. The #1 benefit I've gotten from BDD is ensuring that before I write any Asserts or Expectations that I ...
The key with spec# in this discussion is that you PROVE these things that you assert can NEVER go wrong. As such you get the best of both worlds and don't...
What about cosmic rays? -c From: altdotnet@yahoogroups.com [mailto:altdotnet@yahoogroups.com] On Behalf Of Greg Young Sent: Saturday, March 01, 2008 10:15 AM ...
I've used Debug.Assert, and I've tried Trace.Assert in the past, but I haven't found anything better than doing asserts with an informative exception. If a...
... If that's the only link between it and DDD then I think it's a little weak, we've used the UL in our TDD tests for the domain model since day one. If you...
Depends on the cost of the verification. A checked build that validate outgoing messages against a schema is a typical example. That said, I see no difference...
Hello This is not really a alt.net question, but I figured this would be a great place to post it. Since I'm pretty sure that people in this forum have the...
I'd take a loot at the capabilities and limitations of each tool and weight those in with what "feels right." Another really good thing to look at is what the...
I agree with Ben here. I too examined many ORMs before settling on NHibernate. Something that was important for me was the API I would need to use and how I...
There used to be a couple of years ago a set of articles being written in the theme of "how to choose". http://www.howtoselectguides.com/ They were broken down...
In most projects, it would make sense to budget a few days for infrastructure spikes. To make sure that what you think you are getting is what you are actually...
Ayende Rahien
Ayende@...
Mar 1, 2008 7:05 pm
3802
I'm working on chapter 8 of my upcoming book <http://artofunittesting.com/>and I need to come up with a good example of over specification in unit tests, that...
A few simple examples of overspecification: - A test that depends on multiple unrelated concerns in order to accomplish its tasks. -> Should be using mocks...
... (fragile ... I guess I'm influenced a lot by Meszaros but my main thoughts when I hear about over specification is what he describes as "overspecified ...
100% agree. I would only use Debug.assert in the rarest of situations, where as mentioned above, a standard DBC assert would be cost prohibitive in release...
On Sat, 01 Mar 2008 17:59:58 -0700, Rhys Campbell ... I don't think I could possibly agree more with the power of logging. To me, anyway, this is where...
Roy, "Magic numbers are a code smell" VAT (a sales tax) is 17.5% here in the UK. You can just imagine the developer looking at a simplistic functional...
My usual steps on deciding that: 1) Cross my project needs, with what each tool has to offer. 2) Consider my teams' knowledge on each tool, and evaluate the ...
I pretty much agree with Orenon time to evaluate/spike... just one thing I would add ... Make a decision early, abstract the decision, change your choice later...
... A test that tells you how to implement the SUT instead of what it should achieve. Broadly, a test is over-specified if, in order to refactor (where...
This actually worries me a bit. As a lone, in-house developer (woe is me :P), I don't have anyone locally to bounce ideas off, so I read dozens of blogs,...
... Tim, as I pointed out in the BDD discussion, one thing to bear in mind is that there is no 'right' way to write your tests, just a set of approaches that...
... If you have time I'd be interested in more information about this as I've never got a good feeling for the amount/style of acceptance tests to write....
When I started writing about it, my definition of an over specified test was that is was a test the specified purely internal behavior, with no collaborators....
I would've thought it was quite reasonable to assert several conditions (range checking for example) in one test, I thin the one assertion per test is quite...