.
D 2004-10-21T18:48:18
J assignee dgp
J cmimetype text/plain
J comment Currently,\sthe\sonly\sway\sto\scause\sa\stest\sto\sbe\sSKIPPED\nis\svia\sconstraints.\sI'd\slike\sthe\sability\sto\seither\ncause\sa\stest\sto\sbe\sconsidered\sSKIPPED\smid-run,\sor\sto\ngive\sit\sa\sstatus\sthat\sis\sneither\sPASSED\snor\sFAILED.\n\nThe\sreasoning\sfor\sthis\sdoesn't\sbecome\sclear\suntil\syou\nstart\swriting\shigher\slevel\stests\swith\sthe\spackage.\sOnce\nyou\shave\sacceptance\stests,\syou\sstart\sencountering\scases\nwhere\sthe\stest\sdidn't\sprove\sthe\sspecified\sfunctionality\nis\sbroken,\sbut\sit\scould\snot\sprove\sit\swas\snot\sbroken.\n\nConsider\san\sapplication\sthat\stakes\sdata\sfrom\smultiple\nsources\sand\sformats\sthem\sin\sa\sgiven\sway.\sFor\slower\nlevel\stests,\shte\sdata\ssources\scan\s(and\sshould)\sbe\nstubbed\sout\sso\sthat\sthey\sneed\snot\sbe\sconsidered.\nHowever,\sat\sthe\sacceptance\stest\slevel,\sits\snecessary\sto\nactually\sinteract\swith\soutside\sAPIs\sand\sdatasources,\sto\nprove\sthat\sthe\scode\sis\susing\sthem\scorrectly.\n\nWhen\sthe\sdatasource\sdoesn't\sreturn\sa\sspecific\stype\sof\ndata\s(i.e.\sit\sdoesn't\shave\sthe\sdata\sat\sthe\smoment),\nthen\sthere's\sno\sway\sto\sfind\sout\sif\sit\swas\sformatted\ncorrectly.\sAs\ssuch,\sthe\stest\scan\sbe\sconsidered\sto\shave\nneither\sPASSED\snor\sFAILED.\sHowever,\ssince\sthe\sdata\nisn't\sretrieved\sfrom\sthe\sdatasource\suntil\sthe\stest\nstarts,\sthere's\sno\sway\sto\sSKIP\sthe\stest.\n\nAs\ssuch,\sI'd\slike\ssome\sway\sto\ssignify\sthat\sa\stest\n"neither\spassed\snor\sfailed"\sfrom\swithin\sthe\stest\sbody\n(or\ssetup\sor\scleanup).\sThis\scan\sbe\svia\seither\ssaying\sit\nwas\sSKIPPED,\sor\svia\ssome\sother\scode.\n\nI'd\swrite\sthis\sup\sas\sa\sTIP,\sbut\sI\shave\sno\scurrent\nsuggestion\sas\sto\sthe\sbest\sway\sto\simplement\sthis\sability.\n\nRobert\sSeeger
J foundin None
J priority 5\sMedium
J resolution None
J status Open
J submitter robert_seeger
J subsystem 34.\stcltest\sPackage
J title Add\striggered\sskip\sability\sto\stests
J type RFE
K 1051679fffffffffffffffffffffffffffffffff
U robert_seeger
Z 495a14260eb0ac4ea8b97d4af2db4ea9