[JIRA] Work started: (JENKINS-8492) [assembly: RequiresSTA] in NUnit test suites is not parsed correctly

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[JIRA] Work started: (JENKINS-8492) [assembly: RequiresSTA] in NUnit test suites is not parsed correctly

JIRA noreply@jenkins-ci.org

     [ http://issues.jenkins-ci.org/browse/JENKINS-8492?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Work on JENKINS-8492 started by gbois.

> [assembly: RequiresSTA]  in NUnit test suites is not parsed correctly
> ---------------------------------------------------------------------
>
>                 Key: JENKINS-8492
>                 URL: http://issues.jenkins-ci.org/browse/JENKINS-8492
>             Project: Jenkins
>          Issue Type: Bug
>          Components: xunit
>         Environment: XP pro, Hudson ver. 1.386, Xunit 1.12, Nunit 1.12, NUnit 2.5.5.10112
>            Reporter: Flominator
>            Assignee: gbois
>         Attachments: generated_by_nunit_console.txt
>
>
> I'm generating xml files via nunit-console (%%f is the file name of the test assembly)
> ..\Tools\NUnit\bin\net-2.0\nunit-console "%%f" /framework=4.0.30319 /xml=NUnitResult_%%f.xml /exclude=device
> When using [assembly: RequiresSTA] in the test assembly, the xml file generated by the addon for JUnit doesn't contain any test information only one entry about   RequiresSTA.
> Workaround for me was using a config file:
> <?xml version="1.0" encoding="utf-8" ?>
> <configuration>
>   <configSections>
>     <sectionGroup name="NUnit">
>       <section type="System.Configuration.NameValueSectionHandler"
> name="TestRunner"></section>
>     </sectionGroup>
>   </configSections>
>   <NUnit>
>     <TestRunner>
>       <add value="STA" key="ApartmentState"/>
>     </TestRunner>
>   </NUnit>
> </configuration>
> Anyway, a fix would be good.

--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira