Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: dd837cd8de6e399ccab45c965276d58c2ab4d85c423b23d60356dc7bbaa3cfa2
Ticket: 53cdb9696c0be77ac7ea2ca1042f04b1e441b52d
tcltest: how to mark tests as known/expected to fail without skipping?
User & Date: sebres on 2022-09-05 10:19:09
Changes

  1. icomment:
    I also may not fully understand the concern of expected failure in test suite. Or either what exactly do you miss.
    
    Isn't a test resulting with OK in error case a solution you're looking for?
    ```
        test set-without-args {must fail with wrong args ...} -body {
            ::set
        } -returnCodes error -match glob -result {wrong # args: *}
    ```
    This test expects an error and would pass if body throws an error and the error message matches.
    
  2. login: "sebres"
  3. mimetype: "text/x-markdown"