So I do a lot of timing sensitive / event sequence sensitive stuff.... things that have time outs and delays anyway. So I need to unit test that it works...
Although perhaps not really applicable to your situation, I also like the concept Brian Marick introduced of having clock-time-dependent code depend on a...
... I looked at the kata at ButUncleBob. I agree, it's too compex for a quick demo. However, it doesn't have to be that complex. I recently did a version in...
... I'm a big fan of sleep deprived tests. ;-> http://en.wikipedia.org/wiki/Sleep_deprivation Yes; dittos; I too have been successful with... 1. simulating...
... The number one mistake I see people repeat is trying to make their end- to-end tests as exhaustive (cover as many cases) as their object-level and...
... I know this concept by a few names, and I find it's more about writing good stories than it is only about good end-to-end tests. It's nice to know that the...
... Can you elaborate? Maybe I've misunderstood which concept you are refering to, but the Walking Skeleton seems orthogonal to how you capture, represent and...
... It is about how you split a large story (sometimes called an epic or a feature) into a series of vertical slices that can be implemented quickly and...
... Sure. But that process happens *after* the walking skeleton has been built. The walking skeleton does (almost) nothing at all. It exists purely to get a...
... If the first scenario is trivial enough, the difference is negligible and it becomes a user story with a little bit of business value instead of a purely...
There is always some initial work to get the team and their working environment up to speed before they can concentrate on pure business features. There is...
Nothing like building an actual feature to determine what tools you might need for that feature though. .rob. ... [Non-text portions of this message have been...
Exactly! Doing only the project team initialization and technical infrastructural work necessary for even just the first trivial slice of the first story in...
... <john.carter@...> wrote: ... About one year ago I have published a nice piece of example about TDD- ing a Bounded Buffer on this discussion list. I think...
So I started to apply fake objects for the scheduler of the operating system as well. Now the testing threads not only directly synchronize with each other but...
Has anyone figured out a clever way to run NUnit tests in the debugger with Visual Studio Express? The problem is that Express doesn't allow plugins, so you...
... Could you accomplish this random ordering using something like my IterativeTest addin? It parameterizes the test functions, so if you could specify...
... This is essentially what I meant: I assumed the Walking Skeleton included at least the simplest end-to-end example of a useful feature. If it doesn't, then...
Hi Kelly, I haven't used the Express series myself, but isn't there a Debug section of the Project Properties that allows you to specify an executable and...
If you can find an older version of TestDriven.NET in some dark corner of the Internet, you might be able to install it. Before Microsoft threatened Jamie's...
... I considered mocking too but it is mainly used in sequential environment so far. It means that we can program a mock object in which order and what...
... I'm afraid the extensibility point I was using is no longer available in VS Express 2008. Microsoft have also updated the Express EULA to explicitly...
I often find myself in the situation where I would very much like to test a class with only one public method (like in the Command pattern). The challenge is,...
An interesting trick I use: Instead of writing tests in the form: launchOtherThreadToDoSomething(); .... sleepSomeTime(); assertThatConditionIsTrue(); I cast...
Hi Morten, When I want to test methods that are currently private, my usual approach is to extract the private methods into a new class, make them public in...
... Nice ... I wonder if it would be possible to extend the various xUnit systems to do this with assertions ... Ron Jeffries www.XProgramming.com If it is...
Hi Morten, The typical answer to this situation is that you should put your private method into another class and make it public. However, there are different...
Greetings, ... Do these private methods, the ones that you are feeling compelled to test in isolation, come about as a result of doing test-driven development?...