-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Add dart: prefix for unittest library #3431
Comments
I suggest that this library is being added using pub instead of dart:, overall we should carefully weigh which libraries are elevated to dart: level and which are packages that we supply. cc @kasperl. |
What's the bar for getting into the dart: club? I'd love to see one syntax so we don't have to weigh the pros and cons of how we import different individual libraries. |
For the record, see https://groups.google.com/a/dartlang.org/forum/#!topic/misc/X8qDr24yzXM for public discussion. |
Related to bug 3702 |
This comment was originally written by [email protected] Unit testing is really important. Since the language is changing, building anything non-trivial on top of Dart like a reusable framework requires continuous confidence that the framework is in-sync with the language, and unit tests help us figure that out. Pub is still green, and is itself changing. Forcing third-party framework vendors to use a sketchy tool to get to the the unit test library does nothing more than encourage us to move on to another language. |
The unittest library will be available via pub. The unittest library is shipping in the SDK today, under the pkgs directory. With pub, you should be able to include it with: dependencies: Added WontFix label. |
Added Pkg-Unittest label. |
Removed Area-UnitTest label. |
This issue has been moved to dart-lang/test#135. |
Revisions updated by `dart tools/rev_sdk_deps.dart`. dartdoc (https://github.com/dart-lang/dartdoc/compare/0c8feac..449478c): 449478c7 Tue Jun 6 20:04:19 2023 -0700 Sam Rawlins Search: specify package rank in generation; distinguish non-core Dart libs (#3427) 81af1bf3 Tue Jun 6 17:31:02 2023 -0700 Janice Collins Prepare for dartdoc 6.3.0. (#3430) 2b7340d3 Tue Jun 6 17:30:40 2023 -0700 Sam Rawlins Explicitly export Kind; for internal customer (#3431) 896540c0 Mon Jun 5 19:39:10 2023 +0000 dependabot[bot] Bump github/codeql-action from 2.3.5 to 2.3.6 (#3429) lints (https://github.com/dart-lang/lints/compare/fc74ce0..4b79906): 4b79906 Tue Jun 6 15:15:22 2023 -0500 Parker Lougheed Link to 'dart fix' docs in table header (#132) b7766d6 Tue Jun 6 09:05:20 2023 -0700 Devon Carew add 'has quick-fix' checkboxes to the package's readme (#131) native (https://github.com/dart-lang/native/compare/c851e69..973f3ed): 973f3ed Tue Jun 6 10:26:58 2023 +0000 Daco Harkes [native_assets_cli] Add `dry_run` option (#59) webdev (https://github.com/dart-lang/webdev/compare/b10d62b..3d7f546): 3d7f546f Mon Jun 5 16:24:16 2023 -0700 Elliott Brooks Add Webdev installation test (#1935) 9297c663 Mon Jun 5 14:31:43 2023 -0700 Elliott Brooks Remove unnecessary `async` keywords(#2130) 6b112b06 Mon Jun 5 12:45:34 2023 -0700 Elliott Brooks Run DCM workflow against PR branch (#2131) Change-Id: I6728516c13c1d45f8bbd65c266076c6028ed45ef Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/307962 Reviewed-by: Devon Carew <[email protected]> Auto-Submit: Janice Collins <[email protected]> Reviewed-by: Samuel Rawlins <[email protected]> Commit-Queue: Janice Collins <[email protected]> Commit-Queue: Samuel Rawlins <[email protected]>
The unittest library should be accessible via dart: prefix. This will be a heavily used library by external developers who are sharing code, and thus the current solution of absolute paths isn't sufficient.
The text was updated successfully, but these errors were encountered: