Uploaded image for project: 'Beam'
  1. Beam
  2. BEAM-1260

PAssert should capture the assertion site

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • P2
    • Resolution: Fixed
    • None
    • 0.5.0
    • sdk-java-core

    Description

      When a PAssert assertion fails, it doesn't tell where the assertion (PAssert.that(blah)) call was made in code - only when the failure was detected, i.e. somewhere deep in worker code usually.

      It also doesn't allow specifying a message (unlike JUnit).

      This issue is about improving the way PAssert failures are reported.

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            jkff Eugene Kirpichov
            jkff Eugene Kirpichov
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment