You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
TestPackage has two constructors, TestPackage(string) and TestPackage(IList<string>), with entirely different semantics. The string constructor is intended for use with subpackages only but nothing prevents the caller for using it for the top-level constructor. This is confusing for the caller and requires our code to make provision for either constructor being used. It also doubles the effort of maintaining tests that make use of TestPackage. The string constructor will be removed and a method added to create subpackages under the top-level package.
This duplicates a change I made to the NUnit V4 Api.
The text was updated successfully, but these errors were encountered:
TestPackage has two constructors,
TestPackage(string)
andTestPackage(IList<string>)
, with entirely different semantics. The string constructor is intended for use with subpackages only but nothing prevents the caller for using it for the top-level constructor. This is confusing for the caller and requires our code to make provision for either constructor being used. It also doubles the effort of maintaining tests that make use of TestPackage. The string constructor will be removed and a method added to create subpackages under the top-level package.This duplicates a change I made to the NUnit V4 Api.
The text was updated successfully, but these errors were encountered: