Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GH2297 - Extended NUnit3Settings to support alternative app.config #2298

Merged

Conversation

josiahpeters
Copy link

  • Modified NUnit3Settings class to support new ConfigurationFile property that maps to --configfile=app.config for the nunit-console runner
  • In the 3.8.0 release of the nunit-console runner, a new command line argument was added that supports loading the app.config file from an alternative path or file.
  • Here is the new 3.8.0 feature: No way to specify app.config with console runner nunit/nunit-console#246

@dnfclas
Copy link

dnfclas commented Sep 19, 2018

CLA assistant check
All CLA requirements met.

@josiahpeters josiahpeters force-pushed the josiahpeters-feature/GH-2297 branch 2 times, most recently from 3817e2e to f2e6ae9 Compare September 19, 2018 04:21
@josiahpeters josiahpeters changed the title GH-2297 - Extended NUnit3Settings to support alternative app.config GH2297 - Extended NUnit3Settings to support alternative app.config Sep 20, 2018
@josiahpeters
Copy link
Author

@devlead Is there anything you would like me to add to this PR or anything I can add to #2297 to clear anything up?

@josiahpeters josiahpeters force-pushed the josiahpeters-feature/GH-2297 branch 2 times, most recently from 417b6c2 to 43e2793 Compare September 27, 2018 13:56
Copy link
Member

@patriksvensson patriksvensson left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! 👍

/// Gets or sets a value indicating the path to an alternative app.config file to load.
/// </summary>
/// <value>The location that NUnit should load an alternative app.config file from.</value>
public FilePath ConfigurationFile { get; set; }
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I was a little too quick approving this PR. Could we make this argument match the NUnit argument name and rename it to ConfigFile?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sure thing.

- Modified NUnit3Settings class to support new ConfigFile property that maps to --configfile=app.config for the nunit-console runner
- In the 3.8.0 release of the nunit-console runner, a new command line argument was added that supports loading the app.config file from an alternative path or file.
- Here is the new 3.8.0 feature: nunit/nunit-console#246
Copy link
Member

@devlead devlead left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 👍

@devlead devlead merged commit c94fe5d into cake-build:develop Oct 2, 2018
@devlead
Copy link
Member

devlead commented Oct 2, 2018

@josiahpeters your changes have been merged, thanks for your contribution 👍

@gep13
Copy link
Member

gep13 commented Oct 3, 2018

Relates to #2297

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants