Richer JavaScript assertions to improve BFG processing

XMLWordPrintableJSON

    • Server Tooling & Methods
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      I find starting on a BF investigation to be very tedious. You start with some assertion string like "[-1] != [-1]" and try to reverse engineer what the real values involved were at the point of failure. I think the underlying problem is that our assert.js is really only capable of looking at bool conditions, so very valuable, and sometimes unreproducible , information is lost.

      We could do better if we were using more of an assertion framework in JS tests, with matchers that can report about their inputs in more detail.

      5 minutes of Googling revealed a few of them, like Should.js

            Assignee:
            Backlog - Server Tooling and Methods (STM) (Inactive)
            Reporter:
            Billy Donahue
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated: