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

History Of Ticket 1051679fffffffff

Artifacts Associated With Ticket 1051679fffffffff

  1. Ticket change [74730f0a75] (rid 105207) by robert_seeger on 2004-10-21 18:48:18:

    1. assignee initialized to: "dgp"
    2. cmimetype initialized to: "text/plain"
    3. comment initialized to:
      Currently, the only way to cause a test to be SKIPPED
      is via constraints. I'd like the ability to either
      cause a test to be considered SKIPPED mid-run, or to
      give it a status that is neither PASSED nor FAILED.
      
      The reasoning for this doesn't become clear until you
      start writing higher level tests with the package. Once
      you have acceptance tests, you start encountering cases
      where the test didn't prove the specified functionality
      is broken, but it could not prove it was not broken.
      
      Consider an application that takes data from multiple
      sources and formats them in a given way. For lower
      level tests, hte data sources can (and should) be
      stubbed out so that they need not be considered.
      However, at the acceptance test level, its necessary to
      actually interact with outside APIs and datasources, to
      prove that the code is using them correctly.
      
      When the datasource doesn't return a specific type of
      data (i.e. it doesn't have the data at the moment),
      then there's no way to find out if it was formatted
      correctly. As such, the test can be considered to have
      neither PASSED nor FAILED. However, since the data
      isn't retrieved from the datasource until the test
      starts, there's no way to SKIP the test.
      
      As such, I'd like some way to signify that a test
      "neither passed nor failed" from within the test body
      (or setup or cleanup). This can be via either saying it
      was SKIPPED, or via some other code.
      
      I'd write this up as a TIP, but I have no current
      suggestion as to the best way to implement this ability.
      
      Robert Seeger
      
    4. foundin initialized to: "None"
    5. priority initialized to: "5 Medium"
    6. resolution initialized to: "None"
    7. status initialized to: "Open"
    8. submitter initialized to: "robert_seeger"
    9. subsystem initialized to: "34. tcltest Package"
    10. title initialized to: "Add triggered skip ability to tests"
    11. type initialized to: "RFE"
  2. Ticket change [3ad3c1fb2f] (rid 112625) by dkf on 2005-01-07 17:50:23:

    1. icomment:
      Logged In: YES 
      user_id=79902
      
      Hmm, SKIPPED is wrong. It's not that the test has been
      skipped but that there is another state.
      
      To use an analogy with Scottish Law, we're looking not for
      "Innocent" or "Guilty" but rather "Not Proven". :^)
      
      
    2. login: "dkf"
    3. mimetype: "text/plain"
    4. username: "dkf"
  3. Ticket change [00e69b3446] (rid 119390) by robert_seeger on 2005-01-08 09:48:37:

    1. icomment:
      Logged In: YES 
      user_id=1081558
      
      I'd be ok with another state, along the lines of
      "unresolved", "abandoned", or something else similar. In my
      own tcltest modifications, I have a command called
      tcltest::abandon which causes the test to be registered as
      Skipped, just because that was easier than adding a while
      new state to tcltest. It takes one argument, the constraint
      to say the test was skipped due to... which I tend to supply
      as "noRecords" or something similar.
      
      
    2. login: "robert_seeger"
    3. mimetype: "text/plain"
    4. username: "robert_seeger"