<rss version="2.0" xmlns:a10="http://www.w3.org/2005/Atom"><channel><title>Inflectra Customer Forums: Is it possible for Nunit to read a configuration file with information for test run (Release ID, etc...) (Thread)</title><description>&#xD;
Currently we are running automated tests in Nunit that are associated with test cases in a test set in SpiraTest.&#xD;
&#xD;
 In order to test different iterations, we need to recompile each time with an updated release ID, username, password, etc...  Is there any way to get Nunit to read these values from a configuration file?  We've reviewed the documentation online for Nunit, without any luck.     Thanks!  Matthew </description><language>en-US</language><copyright>(C) Copyright 2006-2026 Inflectra Corporation.</copyright><managingEditor>support@inflectra.com</managingEditor><category domain="http://www.dmoz.org">/Computers/Software/Project_Management/</category><category domain="http://www.dmoz.org">/Computers/Software/Quality_Assurance/</category><generator>KronoDesk</generator><a10:contributor><a10:email>support@inflectra.com</a10:email></a10:contributor><a10:id>http://www.inflectra.com/kronodesk/forums/threads</a10:id><ttl>120</ttl><link>/Support/Forum/spiratest/issues-questions/621.aspx</link><item><guid isPermaLink="false">threadId=621</guid><author>Matthew G Villeneuve (matthew.villeneuve@lumenera.com)</author><title>Is it possible for Nunit to read a configuration file with information for test run (Release ID, etc...)</title><description>&#xD;
Currently we are running automated tests in Nunit that are associated with test cases in a test set in SpiraTest.&#xD;
&#xD;
 In order to test different iterations, we need to recompile each time with an updated release ID, username, password, etc...  Is there any way to get Nunit to read these values from a configuration file?  We've reviewed the documentation online for Nunit, without any luck.     Thanks!  Matthew </description><pubDate>Wed, 19 Jun 2013 17:21:56 -0400</pubDate><a10:updated>2018-08-31T17:32:56-04:00</a10:updated><link>/Support/Forum/spiratest/issues-questions/621.aspx</link></item><item><guid isPermaLink="false">messageId=1140</guid><author>David J (adam.sandman+support@inflectra.com)</author><title> &#xD;
&#xD;
&#xD;
Hi Matthew  We use the NUnit Add-In ourselves internally for SpiraTest and KronoDesk, what we</title><description> &#xD;
&#xD;
&#xD;
Hi Matthew  We use the NUnit Add-In ourselves internally for SpiraTest and KronoDesk, what we do is have a separate .cs file that has the defined current release in a single page and then use that value as the attribute on the test cases. You could try using a .NET application settings member as the value instead and then it would read that from the App.config file. If that doesn't work for you, we can supply the source code to the add-in so that you can modify and recompile it to use an external file.  Regards  Adam </description><pubDate>Fri, 21 Jun 2013 14:00:44 -0400</pubDate><a10:updated>2013-06-21T14:00:44-04:00</a10:updated><link>/Support/Forum/spiratest/issues-questions/621.aspx#reply1140</link></item><item><guid isPermaLink="false">messageId=1198</guid><author>Matthew G Villeneuve (matthew.villeneuve@lumenera.com)</author><title>&#xD;
Hi Adam,&#xD;
&#xD;
    We're still having issues with this, can you please supply the source code so we c</title><description>&#xD;
Hi Adam,&#xD;
&#xD;
    We're still having issues with this, can you please supply the source code so we can use the configuration file?     Thanks,  Matthew </description><pubDate>Tue, 30 Jul 2013 13:00:21 -0400</pubDate><a10:updated>2013-07-30T13:00:21-04:00</a10:updated><link>/Support/Forum/spiratest/issues-questions/621.aspx#reply1198</link></item><item><guid isPermaLink="false">messageId=1226</guid><author>David J (adam.sandman+support@inflectra.com)</author><title> &#xD;
&#xD;
&#xD;
Hi Matthew  If you check the folders in the zipfile, it should actually contain the source co</title><description> &#xD;
&#xD;
&#xD;
Hi Matthew  If you check the folders in the zipfile, it should actually contain the source code to the plugin?  Regards  Adam </description><pubDate>Tue, 13 Aug 2013 13:43:56 -0400</pubDate><a10:updated>2013-08-13T13:43:56-04:00</a10:updated><link>/Support/Forum/spiratest/issues-questions/621.aspx#reply1226</link></item><item><guid isPermaLink="false">messageId=3389</guid><author>David J (adam.sandman+support@inflectra.com)</author><title> The new NUnit 3.0 plugin works with a configuration file:   https://www.inflectra.com/Company/Artic</title><description> The new NUnit 3.0 plugin works with a configuration file:   https://www.inflectra.com/Company/Article/nunit-30-plugin-released-for-spiratest-706.aspx  </description><pubDate>Fri, 31 Aug 2018 17:32:56 -0400</pubDate><a10:updated>2018-08-31T17:32:56-04:00</a10:updated><link>/Support/Forum/spiratest/issues-questions/621.aspx#reply3389</link></item></channel></rss>