Comments (5)
@cowboy This was one of the Grunt 0.4.0 things that I had been holding off from doing. Most grunt multi-tasks are file based. This task however requires URL and hence, src or dest options in a task may not make sense. With the options object, the task will end up looking something like
'saucelabs-qunit' : {
task1 : {
options: {
urls : [] <= URLs are like files, so they don't belong to the options object there.
browser: [], timeout : 10, // and more properties......
} ,
url : [] /// <= I would prefer to use this, since URLs are similar to files.
},
task2: {
options: {
browser: [], timeout : 10, // and more properties......
},
options : {
url : [] // <= URL is NOT a task level option, so it should not be inside the options object.
}
}
All of the options will have to be specified under either the task-level options object, or target-level options.
Basically, I would like URLs to available as task1.url and not task1.options.url.
Are there any other multi-task examples that rely are not file-centric where URLs are specified in a different manner ?
from grunt-saucelabs.
Had a good conversation on this topic with @shama at on IRC #grunt. Given that the tasks that this plugin exposes are very similar to qunit, it makes sense have the input arguments exactly like it would be for qunit. Note that this will be a breaking change and will update the version according to https://github.com/dominictarr/semver-ftw#major-breaking-changes
from grunt-saucelabs.
Fixed in 4c6eca6
from grunt-saucelabs.
👍
from grunt-saucelabs.
Thanks!!
from grunt-saucelabs.
Related Issues (20)
- Report more info on Job timeout HOT 12
- avoid overwriting QUnit.log methods
- Test timeout HOT 8
- Post to status endpoint is failing HOT 4
- Passing unsupported OS/Browser combinations through to saucelabs causes process to hang and never handle the result HOT 4
- Update to sauce-tunnel 2.3.0 HOT 2
- incoming-pr branch is outdated, so that it is impossible to foollow guidelines for contributing HOT 2
- Post to status endpoint is failing HOT 17
- Travis Sauce Connect Addon Integration HOT 3
- Credential leak in verbose mode HOT 2
- Update docs to avoid deprecated config options HOT 3
- Stack trace after Stopping Tunnel to Sauce Labs
- Grunt 1.0.x support HOT 4
- Fix failing grunt-saucelabs CI tests HOT 4
- After navigating to URL, why don't the browsers let go?
- Update node-request-retry to latest (still not available release)
- [ERROR] this.key is not a function HOT 5
- allow configurable test names per url
- testTimeout
- Security issue HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from grunt-saucelabs.