Settings in an external file
You can define in the config file the attribute settings
to express that the settings are defined in an external file. The value of the attribute
should match with the name of the external file containing the
It could be useful to develop several configs and settings file to manage different environments where you're executing your tests.
In the sample bellow, the settings are defined in an external file named MySettings.nbiset.
<?xml version="1.0" encoding="utf-8" ?>
<section name="nbi" type="NBi.NUnit.Runtime.NBiSection, NBi.NUnit.Runtime"/>
This file is a sample of an external file managing the settings.
<?xml version="1.0" encoding="utf-8"?>
<connectionString>My Sut Default Connection String</connectionString>
<connectionString>My Reference Connection String</connectionString>