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

wip: rewrite assertion diff report #150

Merged
merged 7 commits into from
Mar 6, 2020
Merged

Conversation

iamogbz
Copy link
Collaborator

@iamogbz iamogbz commented Mar 6, 2020

Description

e.g. This PR refactors the X submodule, applying Y's algorithm to improve Z by K percent.

Related Issues

  • Closes #0, a short description of the linked issue.

Checklist

  • This PR has sufficient test coverage.
  • I have updated the CHANGELOG.md.

Additional Comments

No additional comments.

@codecov
Copy link

codecov bot commented Mar 6, 2020

Codecov Report

❗ No coverage uploaded for pull request base (improved_assertion_diff@383e5bf). Click here to learn what that means.
The diff coverage is 97.5%.

@@                    Coverage Diff                     @@
##             improved_assertion_diff     #150   +/-   ##
==========================================================
  Coverage                           ?   99.53%           
==========================================================
  Files                              ?       16           
  Lines                              ?      857           
  Branches                           ?        0           
==========================================================
  Hits                               ?      853           
  Misses                             ?        4           
  Partials                           ?        0

@iamogbz iamogbz merged commit bb6f98a into improved_assertion_diff Mar 6, 2020
@iamogbz iamogbz deleted the iamogbz-patch-1 branch March 6, 2020 14:42
iamogbz added a commit that referenced this pull request Mar 7, 2020
* wip: rewrite assertion diff report

* wip: add colours, more context?

* wip: refactor staged line logic

* wip: linting

* wip: rewrite assertion diff report (#150)

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* refactor: replace generator type with iterator

* refactor: limit context using generators

* refactor: reduce diff

* refactor: add note about impossible cases

* test: hidden characters

* chore: update changelog

* chore: update changelog

* test: diff reporter

* lint: shorten line

* test: more snapshot test cases

* fix: allow context style to work in all backgrounds

Co-authored-by: Emmanuel Ogbizi-Ugbe <iamogbz+github@gmail.com>
Co-authored-by: Emmanuel Ogbizi <emmanuel.ogbizi-ugbe@tophatmonocle.com>
syrupy-bot pushed a commit that referenced this pull request Mar 8, 2020
## [0.3.4](v0.3.3...v0.3.4) (2020-03-08)

### Bug Fixes

* show hidden line characters and accessible colors ([#126](#126)) ([fa442df](fa442df)), closes [#150](#150)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant