Re: [IronPython] InvalidProgramException exception with NUnit

2008-10-01 Thread Fernando Correia
2008/10/1 Curt Hagenlocher <[EMAIL PROTECTED]>: > I don't have either of these tools. Do you know of a freely-available > substitute that could work instead? Curt, no, but both TestDriven.NET and NCover have editions that can be freely downloaded. NCover has a 30-day trial version as well as fre

Re: [IronPython] InvalidProgramException exception with NUnit

2008-10-01 Thread Curt Hagenlocher
On Tue, Sep 30, 2008 at 7:19 AM, Fernando Correia <[EMAIL PROTECTED]> wrote: > > The sample test I provided runs without problem when it is executed > directly by NUnit, but fails if NUnit is being called by some other > layer, like the TestDriven.NET plugin for Visual Studio or the NCover > code c

Re: [IronPython] InvalidProgramException exception with NUnit

2008-09-30 Thread Fernando Correia
2008/9/29 Curt Hagenlocher <[EMAIL PROTECTED]>: > Does it work correctly under NUnit if you disable shadow copying? The sample test I provided runs without problem when it is executed directly by NUnit, but fails if NUnit is being called by some other layer, like the TestDriven.NET plugin for Visu

Re: [IronPython] InvalidProgramException exception with NUnit

2008-09-29 Thread Curt Hagenlocher
Does it work correctly under NUnit if you disable shadow copying? On Mon, Sep 29, 2008 at 10:41 AM, Fernando Correia < [EMAIL PROTECTED]> wrote: > Dino, thanks for your support. > > The modified code still aborts under NUnit, so it is not related to > the configuration. The program runs correctly

Re: [IronPython] InvalidProgramException exception with NUnit

2008-09-29 Thread Fernando Correia
Dino, thanks for your support. The modified code still aborts under NUnit, so it is not related to the configuration. The program runs correctly outside NUnit, but raises an InvalidProgramException when executed as a unit test. I had a similar problem with a previous version of IronPython that di

Re: [IronPython] InvalidProgramException exception with NUnit

2008-09-29 Thread Dino Viehland
What if you create the runtime through IronPython.Hosting.Python.CreateRuntime() instead of reading it from configuration? Also, does the happen outside of NUnit? When I change the program to the code below it works for me w/o any issues. So I'm wondering if it's somehow related to the config