Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Add java-diff-utils support #1160

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
Loading
from

Conversation

a-simeshin
Copy link
Contributor

Context

Allure-java currently lacks a component for visualizing the difference between two strings. Similar functionality is available in the allure-jsonunit module, but it is only available for json and is called only as a result of Assert, which is not always suitable for all tasks that require visualization, such as preparing test data from a template.

I propose to add a solution based on the most popular java solution for diff - https://github.com/java-diff-utils/java-diff-utils

Which will:

  1. Be suitable for all text formats, not just json
  2. With a simple API
  3. Available for building Assert
  4. With extended functionality in Attachment

Checklist

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant
Morty Proxy This is a proxified and sanitized view of the page, visit original site.