Skip to content
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

Storyshots integrity tests options #3418

Merged
merged 8 commits into from
Apr 15, 2018
Merged

Conversation

igor-dv
Copy link
Member

@igor-dv igor-dv commented Apr 15, 2018

Issue: "Integrity tests - Abandoned Storyshots" tests are checking that every snapshot (storyshot) matches its story file. Basically, this is needed only for multisnapshots tests. This test is working with glob, and it is very slow because glob is just searching in every place (and in the monorepos it even slower)

#3301, #3290

What I did

Disabled this test by default, and provided an "integrityOptions" option that is actually a glob settings parameter.

TBD: add to readme

@igor-dv igor-dv added addon: storyshots patch:yes Bugfix & documentation PR that need to be picked to main branch labels Apr 15, 2018
@igor-dv igor-dv self-assigned this Apr 15, 2018
@codecov
Copy link

codecov bot commented Apr 15, 2018

Codecov Report

❗ No coverage uploaded for pull request base (master@1932ec2). Click here to learn what that means.
The diff coverage is 93.75%.

Impacted file tree graph

@@            Coverage Diff            @@
##             master    #3418   +/-   ##
=========================================
  Coverage          ?   36.83%           
=========================================
  Files             ?      459           
  Lines             ?    10053           
  Branches          ?      904           
=========================================
  Hits              ?     3703           
  Misses            ?     5808           
  Partials          ?      542
Impacted Files Coverage Δ
addons/storyshots/src/index.js 86.48% <100%> (ø)
addons/storyshots/src/getIntegrityOptions.js 85.71% <85.71%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 1932ec2...7483f50. Read the comment docs.

@Hypnosphi Hypnosphi added the bug label Apr 15, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
addon: storyshots bug patch:done Patch/release PRs already cherry-picked to main/release branch patch:yes Bugfix & documentation PR that need to be picked to main branch
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants