feat(test): test Library for Dart users#3289
Conversation
|
Open questions
|
There was a problem hiding this comment.
Which part is not public? The privacy of _currentTest is enforced by the language. What's left TODO here?
There was a problem hiding this comment.
According to the Dart team, the Invoker.current API should not be relied upon, but a different version that will be formally public is coming soon...
|
Looks great. Let's see what users think about the syntax. Shouldn't be too hard to change it later. |
|
@naomiblack I wouldn't be able to get to it any time soon. Also, I'm not sure what else Julie had in mind for this PR. |
|
Checking in quickly - as far as I know, the remaining todos are
|
|
@juliemr is this still current? |
|
I need to review the needs of dart customers and the dart team about the private API, but yes, this should still be done and I think the PR should be left open. (For clarity - yes, I am picking this up again) |
There was a problem hiding this comment.
Does this create a new temp dir on every executed gulp command? Maybe it should be moved into a subtask of test.dart.angular2_testing/ci?
There was a problem hiding this comment.
Yeah it is pretty terrible. I split into two subtasks so that at least the sane one can be run by itself.
|
A couple of comments on the gulpfile, but otherwise LGTM when LGTTravis. |
08574b6 to
3e58bac
Compare
|
This looks soooo much better than what we have now! L! G! T! M! |
angular2_testing is a user-facing dart test library built on top of the package:test dart unittest framework and runner. For usage, see modules_dart/angular2_testing/README.md.
3e58bac to
2bf867d
Compare
|
Thanks for the review! |
|
Closed via 93a1ec2 |
|
🤘 |
|
Hello, Should 'angular2_testing' package be on https://pub.dartlang.org ? I cannot find it there. |
|
@avoivo I am working on how to distribute, release and package - it'll be up soon. |
|
@juliemr looking forward 👍 |
|
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
This is a work in progress separate dart module for Dart consumers of Angular2 who wish to test on top of
dart:test.