-
Notifications
You must be signed in to change notification settings - Fork 220
Description
I noticed a 1.0.0 milestone was created for this repo. Due to the export of matcher, once that's released, any breaking changes to matcher will also require a breaking change (and thus major version bump) to this package.
Also, exporting matcher highly constrains the versions of matcher that can be used by a package dependening on this package (i.e. almost all packages). But matcher is useful in many contexts outside of unit testing. For example, I'd like to use it in unscripted via the constrain package which already does use Matcher. It is merely a means to test conditions and provide human readable lanuage for them, and explainations of why particular values don't match.
Adding dependencies on both packages wouldn't be too burdensome, especially if you use something like den (e.g. den install test matcher
) or if your editor supports something similar. Making the versions match up will be easy once matcher
stabilizes, which could be expedited via #2326.
I don't see having to import test
and matcher
(or matchers
) as a big deal, especially since you're often just copying over boilerplate code from another test file, and also the boilerplate could be generated for you via dart-archive/matcher#52.