chore(test): migrate Dart tests to package:test#7111
chore(test): migrate Dart tests to package:test#7111juliemr wants to merge 1 commit intoangular:masterfrom
Conversation
|
Transformer tests are failing but will pass after #6896 is merged. |
|
@vicb do you have time to review this? |
7845154 to
0b492ac
Compare
gulpfile.js
Outdated
There was a problem hiding this comment.
is this expected to remove build.dart.material.css ?
There was a problem hiding this comment.
Yes - @jelbourn said that we don't care about the material tests anymore, so to speed things up it should be OK to remove this.
|
@juliemr most of the changes look good to me. However there are some Travis errors, are those expected ? |
|
The dev.js travis error is occuring for all PRs, as far as I can tell. The Transformer tests are failing but will pass after #6896 is merged (we should merge that first and then I'll verify). |
0b492ac to
0151d09
Compare
|
I've rebased on top of the transformer tests, which are now in. |
3469c21 to
7b5c05a
Compare
|
Sigh. OK, so here's the current status - the Versions are hard :( |
|
Precisely - the pub spec incompatibility is:
|
8d27e07 to
ed552a2
Compare
|
Found a workaround! @vicb would you mind taking another look, and then I'll squash the commits? |
|
Why are you using WebDriver |
|
There is |
|
@zoechi but we can't use the newest webdriver, because it's incompatible with Dartium. |
|
I see, didn't know that. That's why I asked "why you are |
1a4743c to
321dcdc
Compare
|
I made a separate issue for upgrading benchpress's webdriver: #7404 |
There was a problem hiding this comment.
does the test runner mess with the url?
There was a problem hiding this comment.
Yes - it adds the dart test runner's test tmp directory in front of it.
ddcbf4b to
ec46ead
Compare
|
Merging PR #7111 on behalf of @vikerman to branch presubmit-vikerman-pr-7111. |
|
@IgorMinar @juliemr FYI – I think we could/should remove |
|
@kevmoo it is still used by some transformer tests. |
|
Due to the way that the build steps copy the pubspecs around (which I admit, I do not fully understand) that didn't work. |
Instead of running with karma and the karma-dart shim, run dart tests directly using the new package:test runner. This migrates away from package:unittest. Fixes a couple tests, mostly associated with depending on absolute URLs or editing the test providers after an injector had already been created. Remove karma-dart and associated files. Change gupfiles to run tests via `pub run test` instead.
ec46ead to
effab53
Compare
|
Merged to master manually |
|
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. |
Instead of running with karma and the karma-dart shim, run dart
tests directly using the new package:test runner. This migrates
away from package:unittest.
Fixes a couple tests, mostly associated with depending on absolute
URLs or editing the test providers after an injector had already
been created.
Remove karma-dart and associated files. Change gupfiles to run tests
via
pub run testinstead.