Skip to content

GUI for viewing diffs #103

@jatcwang

Description

@jatcwang

For diffs from larger data structures, users need a more interactive way to explore the diff as text diffs can get too overwhelming.

Requirements

  • Explore difflicious diff output
  • Parts of the diff can be expanded and minimise. This applies to both parts that are the same (no diff) or different

Architecture

  • Frontend in scala.js
  • Backend (server) will register new diffs from failed tests, and serve the frontend via an API.

Reporting diff errors

Ideally, we want minimal code change in the tests to enable reporting to the backend.

Possible approaches:

  • Using Implicits/givens, the "diff server reporter" is brought in via an import
  • Use some sort of ServiceLoader mechanism to automatically load the reporter if it's on the classpath, activated if an env var / system property is set.
    • Does not require code modification
    • Not cross platform

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions