nunit / nunit-project-loader

The NUnit project loader extension allows the NUnit engine to load nunit projects
MIT License
2 stars 6 forks source link

Add package setting for configuration file if `projectname.config` exists #44

Closed CharliePoole closed 2 years ago

CharliePoole commented 2 years ago

The default config file for an nunit project is documented as projectname.config. However, the project loader currently only adds a setting for the configuration file if an attribute is found in projectName.xml. It does not set the default value.

In the past, it was the engine's responsibility to do this but it no longer does so. While we could restore this functionality to the engine, it makes more sense to encapsulate the details of NUnit project configuration in the project loader itself.

This is indicated as high priority because we will want to use the new release of the project loader in the 3.13 release of console and engine.

CharliePoole commented 2 years ago

Actually, there is no need to check file existence. That's the runner's problem. If no setting is present, the default should always be added to the package.