nunit-core team mailing list archive
-
nunit-core team
-
Mailing list archive
-
Message #03778
Re: [Question #238844]: Category not part of project file
Question #238844 on NUnit Framework changed:
https://answers.launchpad.net/nunit-3.0/+question/238844
Status: Open => Answered
Charlie Poole proposed the following answer:
The project file only holds such items as are permanently associated
with running a particular set of assemblies. Things that may change
from session to session are not stored there. In the case of
categories selected, this information is saved in the
<project>.visualstate.xml file stored in the same directory. However,
this file is only used by the gui, as its name would suggest.
It has been proposed that NUnit allow optional specification of
categories in the project file and it's on our issue list for NUnit
3.0. However, I don't think we will simply save the last used
categories automatically, since that would not work for most usage.
Most likely, you will have to use the project editor gui to explicitly
add the desired categories.
On Thu, Nov 7, 2013 at 8:11 AM, Peter Brightman
<question238844@xxxxxxxxxxxxxxxxxxxxx> wrote:
> New question #238844 on NUnit Framework:
> https://answers.launchpad.net/nunit-3.0/+question/238844
>
> I have chosen a test dll with NUnit GUI and selected a certain category. Then i ran the test. After i have saved this to a NUnit Project File and reloaded it, the selected category was still remembered. However when i edit the Project File, i do not see the selected category. Why is this not part of the project file? Why can't i create a project file using NUnit GUI and afterwards use NUnit console runner by refering to the project file on the command line. If i'd do so, i would still need to pass a category extra on the commandline. I don't understand why this is not part of the project file.
>
> --
> You received this question notification because you are a member of
> NUnit Core Developers, which is an answer contact for NUnit Framework.
>
> _______________________________________________
> Mailing list: https://launchpad.net/~nunit-core
> Post to : nunit-core@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~nunit-core
> More help : https://help.launchpad.net/ListHelp
--
You received this question notification because you are a member of
NUnit Core Developers, which is an answer contact for NUnit Framework.