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

Extract matchers from dart:unittest to separate library (dart:matchers) #3717

Closed
DartBot opened this issue Jun 18, 2012 · 7 comments
Closed
Labels
area-pkg Used for miscellaneous pkg/ packages not associated with specific area- teams.

Comments

@DartBot
Copy link

DartBot commented Jun 18, 2012

This issue was originally filed by [email protected]


Matchers are not only useful in unit testing, but also in a bunch of other contexts -- precondition checking, working with collections, specifying validations etc. Last time it was mentioned on the list is in https://groups.google.com/a/dartlang.org/group/misc/browse_thread/thread/cbdaa198dc9c8c97. Therefore, I propose to extract matchers from dart:unittest to a separate library, possibly called dart:matchers.

@DartBot
Copy link
Author

DartBot commented Jun 18, 2012

This comment was originally written by @seaneagan


also would be useful for a pattern matching construct:

match(x) {
  case (isNegative) ...
  case (isZero) ...
  case (lessThan(5)) ...
  default ...
}

@anders-sandholm
Copy link
Contributor

Added Area-UnitTest, Triaged labels.

@gramster
Copy link

Set owner to @gramster.

@gramster
Copy link

gramster commented Nov 9, 2012

They are now a separate library (although still in the unit test package).


Added Fixed label.

@kevmoo
Copy link
Member

kevmoo commented Feb 12, 2014

Added Pkg-Unittest label.

@kevmoo
Copy link
Member

kevmoo commented Feb 12, 2014

Removed Area-UnitTest label.
Added Area-Pkg label.

@DartBot DartBot added Type-Defect area-pkg Used for miscellaneous pkg/ packages not associated with specific area- teams. labels Feb 12, 2014
@DartBot
Copy link
Author

DartBot commented Jun 5, 2015

This issue has been moved to dart-lang/test#142.

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-pkg Used for miscellaneous pkg/ packages not associated with specific area- teams.
Projects
None yet
Development

No branches or pull requests

4 participants