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 3 1577
Bob,
If this is in VStudio.NET, you can break into the debugger by configuring
the IDE as described at http://msdn.microsoft.com/library/en...exceptions.asp.
HTH,
Nicole
"bob" <bo**********@hotmail.com> wrote in message
news:b0**************************@posting.google.c om... 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
"Nicole Calinoiu" <ni*****@somewhere.net> wrote in message news:<#e**************@TK2MSFTNGP11.phx.gbl>... Bob,
If this is in VStudio.NET, you can break into the debugger by configuring the IDE as described at http://msdn.microsoft.com/library/en...exceptions.asp.
HTH, Nicole
"bob" <bo**********@hotmail.com> wrote in message news:b0**************************@posting.google.c om... 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
Bob,
This is a CSUnit issue, not a C# issue. There's already a discussion
concerning the issue on the CSUnit forum at http://groups.yahoo.com/group/csunit/message/326.
Nicole
"bob" <bo**********@hotmail.com> wrote in message
news:b0**************************@posting.google.c om... 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
"Nicole Calinoiu" <ni*****@somewhere.net> wrote in message
news:<#e**************@TK2MSFTNGP11.phx.gbl>... Bob,
If this is in VStudio.NET, you can break into the debugger by
configuring the IDE as described at http://msdn.microsoft.com/library/en...exceptions.asp. HTH, Nicole
"bob" <bo**********@hotmail.com> wrote in message news:b0**************************@posting.google.c om... 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 This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: mickeyg |
last post by:
Is there a way to step thru php application?
What tools do I need?
I will like to see what lines are being executed and maybe variables values
...
|
by: Paul |
last post by:
I'm having problems in getting the tests associated with DBD::mysql. When they are
executed, I get the following error repeated many times:
...
|
by: FOX User Group |
last post by:
Hi,
Migh be this is the stupid question, does anyone know the root cause of the
following problem:
1. I create project Web Application, say just...
|
by: Scott David Daniels |
last post by:
There has been a bit of discussion about a way of providing test cases
in a test suite that _should_ work but don't. One of the rules has been
the...
|
by: Carlos Albert |
last post by:
Hello group,
I have a weird problem with VS2003 & VS2005 using both ASP.NET 1.1 and 2.0,
that is that 90% of the times I hit debug, doesn't debug...
|
by: Valentin Guggiana |
last post by:
Hi all
I build MySQL 5.0.24 as follows:
setenv PREFIX /data/mysql-5.0.24
setenv CFLAGS "-O3 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64"...
|
by: MLH |
last post by:
Hoping one of you can tell me why my XML call is failing...
Private Sub Command2_Click()
Production.ShippingAPIs.com/ShippingAPI.dll
Dim msXML...
|
by: Jeremy Kitchen |
last post by:
I have inherited a project and I am trying to figure out why the
failing units tests that exist fail. I a, getting the following error
when I...
|
by: Richard Lewis Haggard |
last post by:
We're using VS05 and today the units tests have stopped working in our
development environment. I'm sure that it is something really silly and...
|
by: Kemmylinns12 |
last post by:
Blockchain technology has emerged as a transformative force in the business world, offering unprecedented opportunities for innovation and...
|
by: jalbright99669 |
last post by:
Am having a bit of a time with URL Rewrite. I need to incorporate http to https redirect with a reverse proxy. I have the URL Rewrite rules made...
|
by: Matthew3360 |
last post by:
Hi, I have a python app that i want to be able to get variables from a php page on my webserver. My python app is on my computer. How would I make it...
|
by: Arjunsri |
last post by:
I have a Redshift database that I need to use as an import data source. I have configured the DSN connection using the server, port, database, and...
|
by: WisdomUfot |
last post by:
It's an interesting question you've got about how Gmail hides the HTTP referrer when a link in an email is clicked. While I don't have the specific...
|
by: Matthew3360 |
last post by:
Hi,
I have been trying to connect to a local host using php curl. But I am finding it hard to do this. I am doing the curl get request from my web...
|
by: Carina712 |
last post by:
Setting background colors for Excel documents can help to improve the visual appeal of the document and make it easier to read and understand....
|
by: BLUEPANDA |
last post by:
At BluePanda Dev, we're passionate about building high-quality software and sharing our knowledge with the community. That's why we've created a SaaS...
|
by: Rahul1995seven |
last post by:
Introduction:
In the realm of programming languages, Python has emerged as a powerhouse. With its simplicity, versatility, and robustness, Python...
| |