Conversation
grunt/tasks/populist.js
Outdated
There was a problem hiding this comment.
How confident are we about spaces in file names? I'd be tempted to just use underscores here.
|
It's not passing every browser in testling-ci yet. I'm investigating. |
There was a problem hiding this comment.
I think this requires us to run grunt build before grunt test, so that build/react.js will be built. Wondering if we should make grunt test depend on grunt build.
There was a problem hiding this comment.
Yeah, I'm not 100% sure about this change. I did it so that I could get the tests running in a browser normally without having to rely on the phantomjs web server contortions.
|
Can we not expect Testling-CI to run |
There was a problem hiding this comment.
cc @spicyj who last worked with ReactWebWorker-test: thoughts?
There was a problem hiding this comment.
No strong feelings, I was expecting someone to want to change the generic path earlier than now. Can we not just use a relative path here though? I think I'm actually just missing context on the purpose of this PR.
|
I don't know how to get testling-ci to run grunt. |
test/browser-runner.js
Outdated
There was a problem hiding this comment.
Since you've got your own scope here, why not just
var parts = __filename.split('/');
parts.pop();
var __dirname = parts.join('/');|
@subtleGradient can you look into why Travis CI tests are failing? Looks like something to do with |
|
@benjamn looking into it now… |
test/browser-runner.js
Outdated
There was a problem hiding this comment.
Not sure I see the point in making this a dynamic JS file instead of generating a simple HTML file. Am I missing something?
There was a problem hiding this comment.
testling-ci can load scripts like this, but it won't load an html file.
|
Got testling-ci working with IE10 and probably more. |
|
Switching to SauceLabs… |
|
👍 looks legit |
|
The |
test/browser-runner.js
Outdated
There was a problem hiding this comment.
Can we get rid of this file if we're using SauceLabs instead of Testling?
There was a problem hiding this comment.
Still want to get rid of this file if possible.
|
I decided to remove testling and sauce labs as dependencies for this PR. I'll add sauce labs support in a separate PR. |
Not necessary now that we aren't supporting testling.
Gruntfile.js
Outdated
There was a problem hiding this comment.
Maybe just if (key.indexOf("grunt-") === 0) grunt.loadNpmTasks(key);?
There was a problem hiding this comment.
Yeah, I just pasted this from somewhere. Dang my slackerly ways!
Running the tests shouldn't make git status dirty.
|
Looking great! My final request is to make |
|
You can run tests in a local browser by opening the I'm not sure how to make it so that |
|
This is what I've been doing to test changes really quickly…
If you also want to test changes to any of the generated files you'll need to rebuild them as necessary with [1] Any webdriver server running on [2] To keep the browser window open, pass the |
No description provided.