<i>tcltest: how to mark tests as known/expected to fail without skipping?</i> status still Open with 3 other changes
by
.
D 2022-09-05T21:49:50.008
J icomment No,\swriting\sa\stest\swhich\sshould\sgenerate\san\serror\sin\sthe\sabsence\sof\san\sissue\sis\snot\sthe\ssame\smarking\sa\stest\sas\sknown/expected\sfail\sin\sthe\spresence\sof\san\sunresolved\sissue.\sThe\scontents\sof\sa\stest\sare\scode\swhich\sshould\spass\sif\sthere\sare\sno\sunresolved\sissues.\sKnown/expected\sfail\sis\smetadata\swhich\sonly\sthe\stest\sharness\sshould\sknow\sabout,\snot\sthe\scode\swithin\sthe\stest;\sthe\sresults\sfrom\sa\stest\sharness\sshould\suse\sthis\smetadata\sto\sdistinguish\stests\swhich\sexpectedly\sfail/unexpectedly\spass\sfrom\stests\sin\sthe\sexisting\spass/fail/skip\scategories.\r\n\r\nThe\sidea\sis\sthat\sunder\sa\sworkflow\sresembling\stest-driven\sdevelopment,\swhen\san\sissue\s(bug\sor\smissing\sfeature)\sis\snoticed,\sa\stest\sis\screated\sfor\sit\swhich\sinitially\sfails,\sand\sis\smarked\sas\sknown/expected\sto\sfail\s(especially\swhen\sa\ssolution\sis\snot\sexpected\sright\saway).\sBut\sthe\stest\sshould\salways\srun\sby\sdefault\sand\sreport\swhether\sit\sfails\sas\sexpected\sor\spasses\sunexpectedly;\sshort\sof\ssomething\slike\suncontained\scrashes,\sthere\sshould\sbe\sno\sreason\sto\sskip\sit\sby\sdefault.\sIf\sa\srelease\sis\smade\sbefore\sthe\ssolution\sis\simplemented,\sthen\sit\sis\sclear\sto\sanyone\srunning\sthe\sdefault\stest\ssuite\sthat\sthe\smaintainer\sis\salready\saware\sthat\sthere\sare\sknown/expected\sfailing\stests\sfor\sissues\swhich\shave\syet\sto\sbe\saddressed\sin\sa\srelease.\sWhen\sthe\ssolution\sis\simplemented,\sthe\stest\sis\skept\sand\smarked\sas\sexpected\sto\spass.
J login chrstphrchvz
J mimetype text/x-fossil-wiki
K 53cdb9696c0be77ac7ea2ca1042f04b1e441b52d
U chrstphrchvz
Z 357649e71c04d399d5fe2b0f10a4040c