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

Output diff of expected and actual values in ConsoleLauncher #4017

Draft
wants to merge 27 commits into
base: main
Choose a base branch
from

Commits on Aug 31, 2024

  1. Issue: junit-team#3139 part 1

    Tasks completed:
    1. Locate ConsoleLauncher output
    2. Check if actual and expected of AssertionFailedError are both type of CharSequence
    To do list:
    1. Add diff function dependency
    2. Using diff to generate the output desired
    
    Issue: junit-team#3139
    XuJ321 committed Aug 31, 2024
    Configuration menu
    Copy the full SHA
    e0d2849 View commit details
    Browse the repository at this point in the history
  2. Issue: junit-team#3139 part 2

    Tasks completed:
    1. Locate ConsoleLauncher output
    2. Check if actual and expected of AssertionFailedError are both type of CharSequence
    3. Add diff function dependency
    4. Using diff to generate the output desired
    
    Issue: junit-team#3139
    XuJ321 committed Aug 31, 2024
    Configuration menu
    Copy the full SHA
    bc1b464 View commit details
    Browse the repository at this point in the history
  3. Issue: junit-team#3139 part 2 update

    delete one line of extra code
    XuJ321 committed Aug 31, 2024
    Configuration menu
    Copy the full SHA
    2fa9a8e View commit details
    Browse the repository at this point in the history

Commits on Sep 1, 2024

  1. Issue: junit-team#3139 part 2 update

    Fixed different profile issue.
    
    Tasks completed:
    1. Locate ConsoleLauncher output
    2. Check if actual and expected of AssertionFailedError are both type of CharSequence
    3. Add diff function dependency
    4. Using diff to generate the output desired
    
    ToDo:
    1.Automatic test case for diff output
    
    Issue: junit-team#3139
    XJ114514 committed Sep 1, 2024
    Configuration menu
    Copy the full SHA
    50552b4 View commit details
    Browse the repository at this point in the history

Commits on Sep 13, 2024

  1. Configuration menu
    Copy the full SHA
    e8d11bd View commit details
    Browse the repository at this point in the history

Commits on Sep 14, 2024

  1. Fix format issue

    XJ114514 committed Sep 14, 2024
    Configuration menu
    Copy the full SHA
    7b4088d View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    bb29695 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    2c27b53 View commit details
    Browse the repository at this point in the history
  4. Try to Fix Dependency issue

    XJ114514 committed Sep 14, 2024
    Configuration menu
    Copy the full SHA
    af16685 View commit details
    Browse the repository at this point in the history
  5. Issue: junit-team#3139 Add external diff module to module documentation

    Add external diff module  to module documentation
    For unknown reason, the test cases can not find the external module while the gradle can build normally.
    
    Issue: junit-team#3139
    XJ114514 committed Sep 14, 2024
    Configuration menu
    Copy the full SHA
    3d73d1e View commit details
    Browse the repository at this point in the history

Commits on Sep 23, 2024

  1. Configuration menu
    Copy the full SHA
    c8a7b95 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    53d884c View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    26bcaa4 View commit details
    Browse the repository at this point in the history

Commits on Sep 25, 2024

  1. Update libs.versions.toml

    XJ114514 committed Sep 25, 2024
    Configuration menu
    Copy the full SHA
    3248752 View commit details
    Browse the repository at this point in the history

Commits on Oct 7, 2024

  1. Adding diffPrinter class

    1. Add diffPrinter class
    2. replace diff in consoleTestExecutor with diffPrinter - will be deleted evetually
    3. mark the location of adding diff in flatPrinter and verboseTreePrinter.
    
    Issue: junit-team#3139
    XJ114514 committed Oct 7, 2024
    Configuration menu
    Copy the full SHA
    04f789a View commit details
    Browse the repository at this point in the history

Commits on Oct 9, 2024

  1. Update junit-platform-console/src/main/java/org/junit/platform/consol…

    …e/tasks/DiffPrinter.java
    
    Co-authored-by: Marc Philipp <[email protected]>
    XJ114514 and marcphilipp authored Oct 9, 2024
    Configuration menu
    Copy the full SHA
    983e090 View commit details
    Browse the repository at this point in the history
  2. Update junit-platform-console/src/main/java/org/junit/platform/consol…

    …e/tasks/DiffPrinter.java
    
    Co-authored-by: Marc Philipp <[email protected]>
    XJ114514 and marcphilipp authored Oct 9, 2024
    Configuration menu
    Copy the full SHA
    eef49f1 View commit details
    Browse the repository at this point in the history
  3. Update junit-platform-console/src/main/java/org/junit/platform/consol…

    …e/tasks/DiffPrinter.java
    
    Co-authored-by: Marc Philipp <[email protected]>
    XJ114514 and marcphilipp authored Oct 9, 2024
    Configuration menu
    Copy the full SHA
    bcd0608 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    cc69bfb View commit details
    Browse the repository at this point in the history
  5. Update the rule of inlineDiffByWord

    Only if one word has space, show inlineDiffByWord.
    XJ114514 committed Oct 9, 2024
    Configuration menu
    Copy the full SHA
    705b4cf View commit details
    Browse the repository at this point in the history

Commits on Oct 12, 2024

  1. Configuration menu
    Copy the full SHA
    2383f3e View commit details
    Browse the repository at this point in the history

Commits on Oct 19, 2024

  1. Issue: junit-team#3139 Update to display each test method info

    1. Add a `testPlan` getter to `platform/launcher/listeners/SummaryGeneratingListener.java`.
    
    2. DiffPrinter now needs testPlan to display the testMethod info.
    Issue: junit-team#3139
    XJ114514 committed Oct 19, 2024
    Configuration menu
    Copy the full SHA
    82f723a View commit details
    Browse the repository at this point in the history

Commits on Oct 21, 2024

  1. Configuration menu
    Copy the full SHA
    536e9c7 View commit details
    Browse the repository at this point in the history
  2. apply spotless

    XJ114514 committed Oct 21, 2024
    Configuration menu
    Copy the full SHA
    f44f929 View commit details
    Browse the repository at this point in the history

Commits on Oct 25, 2024

  1. Combine PR made by Marc from #1

    add testPlanCapturer listener
    XJ114514 committed Oct 25, 2024
    Configuration menu
    Copy the full SHA
    eef975b View commit details
    Browse the repository at this point in the history
  2. Revert "Combine PR made by Marc from #1"

    This reverts commit eef975b.
    XJ114514 committed Oct 25, 2024
    Configuration menu
    Copy the full SHA
    de00ade View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    a3f8f25 View commit details
    Browse the repository at this point in the history