xunit / resharper-xunit

ReSharper runner for xUnit.net
Apache License 2.0
91 stars 20 forks source link

Merging ReSharper and xunit settings #93

Open citizenmatt opened 9 years ago

citizenmatt commented 9 years ago

Specifically, AppDomain and shadow copy. Both ReSharper and xunit have settings for these, but how should they be merged?

I can tell when xunit's values are specified or not, so can easily tell when ReSharper should provide the value, but don't know what to do when both are specified.

Currently, ReSharper takes precedence.

Reasons for:

Against:

ngocvantran commented 8 years ago

I'd prefer to have 2 levels:

  1. Default: xUnit runner settings is used. This will allow consistent results of the tests as it's executed exactly like how it's done when running on CI server. The usefulness of unit tests are best when using with CI server, majority of which are executed using xUnit console runner.
  2. Override: add the ability in Resharper options to allow xUnit plugin to override settings set in runner configurations with those in ReSharper unit test settings in case developer really need to.