nunit-core team mailing list archive
-
nunit-core team
-
Mailing list archive
-
Message #01228
Re: [Bug 659969] Re: Config documentation inaccurate or functionality non-existent
> I havent tried the .dll.config to be honest.. i read the documentation
> and expected it to work the way it explains.. the other solution is not
> really acceptable ..
I assumed it was working, since you indicated you would have to write
a lot of config files! As far as I can see, this is working in both cases
(assembly or project config) but I'll run a test.
> I tried running nunit-console.exe Main.unit and it writes:
> ProcessModel: Default DomainUsage: Default
> Execution Runtime: Default
>
> I'm assuming some of those should change if it registered my config
> file?
There is nowhere in a config file to specify any of these. "Default" simply
means that you haven't used the corresponding elements in your .nunit
file and haven't specified the options on the command line.
And of course, none of this has anything to do with threads.
> ok, just tested it out of curiosity.. and it does register in the output.. adding a x.tests.dll.config and running nunit-console.exe on it produced this:
> ProcessModel: Default DomainUsage: Single
> Execution Runtime: Default
"Single" because you're running a single assembly - no big deal.
> I'm not sure how to confirm the ThreadPriority though.. i'm not sure
> right clicking the nunit-console.exe in the taskmanager is the right way
> to go.. because it's still normal there :)
OK... let's roll back to your original statement that the thread priority and
apartment state were not set correctly. I should have asked you at the
start "How do you know they are not correct?" Have you written a test?
> Glad we're getting closer to a solution!
Yes.
Charlie
> --
> Config documentation inaccurate or functionality non-existent
> https://bugs.launchpad.net/bugs/659969
> You received this bug notification because you are a member of NUnit
> Developers, which is subscribed to NUnit V2.
>
--
Config documentation inaccurate or functionality non-existent
https://bugs.launchpad.net/bugs/659969
You received this bug notification because you are a member of NUnit
Developers, which is subscribed to NUnit V2.
Status in NUnit V2 Test Framework: New
Bug description:
this page: http://nunit.org/index.php?p=configFiles&r=2.5.7 describes how placing a config file with certain parameters can change the behaviour of running nunit..
Now if only any of them worked..
References