-
Notifications
You must be signed in to change notification settings - Fork 37
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
Support for Multiple Tests #10
Comments
Hmmm...yeah, I follow you. Shouldn't take too much work to pull it off. |
As a suggestion, rather than an array of paths, have additional objects per-URL with the ability over-ride any of the settings - I say this because there a frequently cases where the performance budget is different per-page (for instance, little used pages, or particularly rich pages).
This is much the same as grunt-yslow uses (https://github.com/andyshora/grunt-yslow) and it works well there. |
As a temporary workaround, multi-perfbudget-grunt allows multiple tests to be run in a single command. |
My particular use case involves running several tests for various types of pages as opposed to testing a single url. I'm not sure what the best way to implement this would be, but I'm envisioning something like:
Where the plugin would iterate over the paths provided, append them to the base URL, and kick off a test for each of the full URLs created.
Paths would be an optional parameter, and when not specified the plugin would default to the current behavior.
The text was updated successfully, but these errors were encountered: