Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 6774c5ce96e59252e824ffbe88bf4beadb4d5a0068e91d5c505d266b1095f2d5
Ticket: 53cdb9696c0be77ac7ea2ca1042f04b1e441b52d
tcltest: how to mark tests as known/expected to fail without skipping?
User & Date: chrstphrchvz on 2022-09-05 01:08:03
Changes

  1. icomment:
    Thank you for pointing me to the knownBug constraint; I’m not inclined to say it completely achieves what I meant, however if the Tcl community finds it to be a satisfactory substitute, then this ticket should be closed rather than kept open as an RFE. What I had in mind would resemble things like [https://www.gnu.org/software/emacs/manual/html_node/ert/Expected-Failures.html|ERT <tt>:expected-result :failed</tt>] or [https://perlmaven.com/todo-testing-a-bug|Perl TODO] or [https://doc.qt.io/qt-6/qtest.html#QEXPECT_FAIL|Qt <tt>Q_EXPECTFAIL()</tt>]. The point of this feature would be for known/expected failing tests to run <b>by default</b> (without having to do anything like manually override constraints), and clearly indicate any tests which expectedly fail or unexpectedly pass.
    
  2. login: "chrstphrchvz"
  3. mimetype: "text/x-fossil-wiki"