Debuging failing tests

  • Thread starter Thread starter bob
  • Start date Start date
B

bob

Hello,
I've tried a few testing frameworks with C# but so far haven't found a
way to debug into a failing test. I'm used to S Unit (Smalltalk)
where when a test fails you just right click on it and say debug and
the program halts at the point where the test fails. This makes it
very easy to debug the test as you have the stack, locals etc. At
them moment I'm having to recompile the main loop to call the failing
test and put a break in at the point of failure, which clearly is a
nightmare.

Can anyone help?

Thanks in advance

bob
 
Hi Nicole,
I tried your plan but I couldn't work out what exception was fired.
I'm using CSUnit's Assert like this:

Assert.True(false)

I can't really understand how people debug their tests without the
stack so it must be possible.

Bob
 
Back
Top