Skip to content
Tcl Source Code History Of Ticket 2130388fffffffff
Login

History Of Ticket 2130388fffffffff

Artifacts Associated With Ticket 2130388fffffffff

  1. Ticket change [50278892d1] (rid 125922) by nijtmans on 2008-09-26 15:38:04:

    1. assignee initialized to: "nijtmans"
    2. cmimetype initialized to: "text/plain"
    3. comment initialized to:
      When tests fail, tcltest outputs something like:
        ---- Result was:
        abc
        ---- Result should have been (exact matching):
        def
        ==== foo-1.1 FAILED
      
      When the two strings being compared are very
      long, this becomes unreadable. junit has the
      feature that in this case, the first and last
      characters from both strings, as far as they
      are equal are stripped and replaced with "..."
      This way, you can see quickly which part of
      the string is different, and what the difference
      is. This feature I would like to see in tcltest
      as well.
      So, it could look like:
        ---- Result was:
        ...foobar ...
        ---- Result should have been (exact matching):
        ...fooBar ...
        ==== foo-1.1 FAILED
      
      Therefore I made the following implementation
      (see attached diff.txt file). If minimally
      the first 8 characters are equal, the equal
      part is replaced by "..." followed by the
      last 3 equal characters. The last part of
      the string is handled equivalently.
      
      A lot of variations are possible, but I would
      like some feedback/review before committing it.
      
      Regards,
               Jan Nijtmans
      
    4. foundin initialized to: "None"
    5. is_private initialized to: "0"
    6. priority initialized to: "5 Medium"
    7. resolution initialized to: "None"
    8. status initialized to: "Open"
    9. submitter initialized to: "nijtmans"
    10. subsystem initialized to: "34. tcltest Package"
    11. title initialized to: "smart truncation of long lines in tcltest output"
    12. type initialized to: "RFE"
  2. Add attachment "diff.txt" [a840ab258d] (rid 98947) by nijtmans on 2008-09-26 22:38:04.

  3. Ticket change [98a7b9883e] (rid 110647) by nijtmans on 2008-09-26 22:38:05:

    1. icomment:
      
      
      File Added - 294995: diff.txt
      
      
      
    2. login: "nijtmans"
    3. mimetype: "text/plain"
    4. username: "nijtmans"
  4. Ticket change [b6a62812ae] (rid 125457) by dkf on 2008-09-27 00:44:41:

    1. assignee changed to: "dgp"
  5. Ticket change [e695c08be8] (rid 104313) by nijtmans on 2008-09-28 04:07:48:

    1. icomment:
      Don, thanks for taking this.
      
      However, realizing that this patch only works well for
      exact matching (not glob or regexp), it should be seen
      as first attempt for this feature.
      
      And a clear investigation what exact junit does would
      be good as well.
      
      
    2. login: "nijtmans"
    3. mimetype: "text/plain"
    4. username: "nijtmans"
  6. Ticket change [f541318b07] (rid 137012) by jan.nijtmans on 2014-02-21 19:11:26:

    1. submitter changed to: "jan.nijtmans"