-
Notifications
You must be signed in to change notification settings - Fork 40
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
CP-2272 Implemented task that allows a user to run browser based dart unit tests on saucelabs #148
Conversation
@@ -26,6 +26,7 @@ development requirements: | |||
- Documentation generation | |||
- Examples for manual testing/exploration | |||
- Applying a LICENSE file to all source files | |||
- Running dart unit tests on saucelabs |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
#nit
s/saucelabs/Sauce Labs
Done with first pass. So glad to have this functionality in a common place! |
I want this now! This is going to be awesome! |
Current coverage is 23.56% (diff: 100%)@@ master #148 diff @@
==========================================
Files 7 7
Lines 157 157
Methods 0 0
Messages 0 0
Branches 0 0
==========================================
Hits 37 37
Misses 120 120
Partials 0 0
|
@jayudey-wf This pull request has merge conflicts, please resolve. |
a6bcdf4
to
18a6355
Compare
@greglittlefield-wf this is ready for re-review |
@jayudey-wf Sorry that this fell off my radar! Looks great. +1 |
+1 Let's do this! |
+1 - let's get this moving
|
+1 to this change |
' please review the output above and the test report located at' | ||
' ${config.saucelabsTests.testReportPath}.'); | ||
} else { | ||
return new CliResult.success('Success, your tests completely successfully' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
*completed
I agree with the change to the shorter |
@jayudey-wf This pull request has merge conflicts, please resolve. |
QAManual Testing
Manual CI
|
@jayudey-wf once you resolve merge conflicts, I'll put my QA stamp on it. |
@jayudey-wf actually, I just found one issue. The
|
Also, as a side note, the requirement of a transformer means that this task can't be used by any projects that are also a dependency of dart_dev. That's fairly low risk, I just happened to run into it trying to test this out with fluri, but since dart_dev now depends on fluri, there's a circular dependency. Normally that's fine, but with transformers it's not allowed. |
+1 |
@jayudey-wf This pull request has merge conflicts, please resolve. |
- updated documentation - renamed saucelabs-tests to saucelabs - utilized TaskProcess - reducing default browser config - added implementation of supportsDebugging - updating logic around using existing sauce tunnels and tunnel identifiers - better error handling when a test errors on sauce labs
845acdb
to
d3893d7
Compare
Future<CliResult> run(ArgResults parsedArgs, {bool color: true}) async { | ||
if (sauceUserName == null || sauceAccessKey == null) { | ||
return new CliResult.fail('Sauce Labs credentials must be available via ' | ||
'the `SAUCE_ACCESS_KEY` and `SAUCE_USERNAME` SauceRunnerConfig instance.'); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This error message is confusing - it sounds like the key and username should be available on an instance of some Dart object, but it is actually looking for them from the shell environment via dart:io
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed ^
QA +10
|
+1 to the last commit |
+10
|
+1 |
Issue
Changes
Source:
Tests:
Areas of Regression
Testing
Code Review
@trentgrover-wf
@maxwellpeterson-wf
@evanweible-wf
@dustinlessard-wf