-
Notifications
You must be signed in to change notification settings - Fork 603
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
Rework of many parts for speed and CI reporting #259
Conversation
…ages to backstop. - Do not use resemble-js in the angular part, use images directly - Store configuration hash separately - move compare to a util - create a Report utility to abstract the report writing. - openReport doesn't copy files anymore - remove unneeded utils
…ackstopJS into fix_js_config_loading * 'fix_js_config_loading' of https://github.com/onigoetz/BackstopJS: Apply new configurations
Handle return code correctly
…placed "circle" with Bootstrap badges (circles didn't work with more than 100 tests)
…n a separate step
…e scenarii with "--filter"
if (lastIndex !== -1 && lastIndex === position) { | ||
__dirname = arg.replace(fs.separator + 'genBitmaps.js', ''); | ||
} | ||
}); |
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 looks like duplicated code from 'echoFiles.js', maybe extract it to separate helper file?
I'm not sure that closing the pull request was you goal, or was it ? :) |
Oh great, I didn't see that one. And what is your intention with the three branches My work being based on what Julien Pradet made in #241 I don't think this should be reviewed separately. |
Ok. It's merged now. This is an epic PR! This is an overwhelmingly positive direction for BackstopJS. Thank you for the contribution! Thanks for clarifying re: #241 -- Sorry I was having trouble deciding how to manage the PR. I guess I will leave 2_0 as is and wait till you are ready to have me pull the PR. In the meantime I am also tracking your public changes so I can test them locally. Sound good? I am intrigued by Is it your intention to abandon change detection of the config? I am already thinking about the various online resources and tutorials that need to be rewritten with this new, much cleaner interface. |
…al reference generating with possibility to generate references for specified set of tests.
Version 2 0 onigotez
By the way, the other people to credit for this work are : @borys-rudenko, @Ksushik and @dmitriyilchgmailcom |
Super. I will check this out tonight. Thank you! |
Awesome -- thank you! I will be adding some readme info about the 2.0 version soon. |
Hello,
first, I'm really sorry for the size of this pull request I know it will be difficult to code review it. We made this changes in a single sprint at our company and couldn't afford to keep everything to separate branches because we needed to push it to our central Jenkins.
Highlights
fs
to move files aroundprocess.cwd()
to generate its path, not./node_modules/backstopjs
--filter
option to filter scenarii bylabel
in test and referenceVariants
Browser reporting
analysisTime
anddimensionDifference
(ifisSameDimensions
is true)CLI Reporting
Internal changes
before
andafter
this makes the code very complicated to understand and can be replaced by promises inside the main executeBugfixes / Regressions
Code Style
Tests