Dino,
Thanks for the note.
I agree that I do not want to check this usage, but since it is a
prototype designed to help persuade others on the productivity of unit
tests in IronPython, I think it is adequate.
Have a great day!
From: users-boun...@lists.ironpython.com
[mailto:users-b
Michael,
Thanks for the information. My code calls unittest.main().
I could not locate the 2.7 version of unittest.main that accepted the
exit=False parameter. I suspect it is in the CodePlex source code tree
and not in the downloaded V7.2a1.
I will probably utilize the solution sugges
On 31/08/2010 00:13, Jones, Larry wrote:
I'm writing unit tests in IronPython.
The implementation of unittest.main() calls sys.exit() when finished
even if no testing errors occurred. Consequently, the Visual Studio
debugger presents a dialog indicating that the SystemExit exception
was unh
import System
System.Diagnostics.Debugger.IsAttached
Will determine if the debugger is attached or not.
Personally I hate code which checks this though but your usage sounds safe
enough :)
From: users-boun...@lists.ironpython.com
[mailto:users-boun...@lists.ironpython.com] On Behalf Of Jones,
I'm writing unit tests in IronPython.
The implementation of unittest.main() calls sys.exit() when finished
even if no testing errors occurred. Consequently, the Visual Studio
debugger presents a dialog indicating that the SystemExit exception was
unhandled. Running from the console, I do not s
On 30/08/2010 18:32, Jones, Larry wrote:
Thanks, Michael, for the information. I copied the file unittest.py
from my IronPython 2.6 installation to my IronPython 2.7 installation.
It did seem to work, although discovering that in 2.7 unittest is a
directory containing a number of other file
Thanks, Michael, for the information. I copied the file unittest.py from
my IronPython 2.6 installation to my IronPython 2.7 installation.
It did seem to work, although discovering that in 2.7 unittest is a
directory containing a number of other files, was a bit disconcerting. I
renamed the v2.
On 30/08/2010 16:38, Jones, Larry wrote:
My team is currently using VS2010 for work. I want to demonstrate that
using IronPython as our "unit testing language" can be more productive
than using either NUnit or Microsoft Test.
In order to integrate with VS2010, I believe I must use IronPytho
My team is currently using VS2010 for work. I want to demonstrate that
using IronPython as our "unit testing language" can be more productive
than using either NUnit or Microsoft Test.
In order to integrate with VS2010, I believe I must use IronPython
2.7a1. I believe this is the only release t