I think It's worth reading http://blog.objectmentor.com/articles/2009/04/25/the-scatology-of-agile-architecture I did like the phrase "the plan is nothing, the...
Hi All, The NUnit 2.5 final release is now available at http://nunit.org/?p=download. NUnit 2.5 is a very big release, so you'll have to read the release notes...
... You can also introduce a new class, SingletonWrapper that delegates its methods to the Singleton. From there, extract the interface SingletonRole from...
On Tue, Apr 28, 2009 at 11:42 AM, Kaleb Pederson ... I name my tests for the behavior I'm testing. In my classic "Fraction" demo, I start with a test class...
... I have lived my entire life in the real world, and sometimes I don't know how I'm going to design something until I start designing it. It's more important...
... Another alternative is to just pick up a one of those mocking framework that are able to mock static method . Using that you'll be able to stub out the...
New guy TDDing w/nunit 2.5. Let's say I want to write a function that validates an email address with a regex. I write a little test to check my function and...
Hi Chris, ... For me the choice usually involves answers to two key questions. If an assertion fails, would subsequent assertions give me information that can...
Chris, A tdd-question: do these extra cases you want to add create a failing test - one that forces you to write new code to go green? If yes, then put them in...
... Excellent. Are you also using any automated refactoring tools, like Resharper? ... You would likely explain "test.test.com" as an email address without an...
... +1 on that. Make the tests are _readable_ as possible; like they are explaining how the system works! ... -- twitter.com/olofb olofb.wordpress.com ...
Olof Bjarnason
olof.bjarnason@...
May 7, 2009 12:02 pm
31061
... It's slightly off-topic, but email addresses are not easy to parse with regular expressions. Trying to do so soon becomes unmaintainable (e.g....
... FYI - there's also a very nice FindBugs plugin for Eclipse. It points out potentially problematic code right in the editor as you type (and also avoids...
Hi All, I saw a mention to TDD on the blog of Google Web Toolkit. I think it is nice see references to TDD in big companies like Google, Microsoft, IBM etc. ...
Resending because it was with wrong subject. Sorry. On Sun, May 10, 2009 at 8:21 PM, Josue Barbosa dos Santos < ... [Non-text portions of this message have...
IIRC from the cartoon strip provided, whole chrome browser was developed using TDD. On Tue, May 12, 2009 at 1:12 AM, Josue Barbosa dos Santos < ... -- Sidar Ok...
... Not whole, but large parts. Among them the HTML-rendering engine. ... -- twitter.com/olofb olofb.wordpress.com olofb.wordpress.com/tag/english...
Olof Bjarnason
olof.bjarnason@...
May 12, 2009 4:32 am
31069
... I'm a little late for the discussion here, but usually I draw a UML-ish diagram for the major parts of the data model (at least what I'm going to need to...
How is Spring going to inject the service without a setter? -- Rob -- http://agileintention.blogspot.com http://twitter.com/robpark ... [Non-text portions of...
I assume he's using annotations. Spring lets you annotate a private variable with @Resource or @Autowired to inject without a setter. I'm in a similar...
Ah, I haven't been using Spring since that was introduced.Could you setup a Mock context for your tests and then have the test grab the instance of the mock...
... It's possible to do that. It is also possible to set the dependencies explicitly in the test. The advantage is that you have greater isolation, because the...
Yes, I like that better. -- Rob -- http://agileintention.blogspot.com http://twitter.com/robpark ... [Non-text portions of this message have been removed]...
Hi All, If your coming to XP2009, I hope you'll think about my workshop on Gui testing and TDD. Although I've given paid tutorials on Gui testing before, this...
Great! I have just started looking into the annotations and that seems to be what I was looking for. Thx for your help. But that brings up a new question: A...
On Thu, May 14, 2009 at 1:41 PM, martin_sudmann ... Spring is a defacto standard at many Java shops. Among the other possibilities at least Picocontainer (my...