Added RETRY-UNTIL-TEST-PASS directive - #79
Conversation
| Equal(car.Year, retrievedCar.Year); | ||
| }); | ||
|
|
||
| ClearVariables(); |
There was a problem hiding this comment.
Problem je, ze ked chces precitat testy, tak musis executnut ten subor a vzhladom na toto, ze toto je mimo tych tp.Test, tak sa to hned odpali a premaze variables (toto sa deje pri nacitami testov, nie spusteny) a potom ked dojde na spustenie, tak niektore tie variables chybaju a padne to.
There was a problem hiding this comment.
Bude treba odstranit aj referenciu #load "$teapie/ClearVariables.csx"
There was a problem hiding this comment.
V popise je napisane ze si rozdelil ITester a IRegistrator, ale tento subor je zmazany a pomizol aj z kodu (ApplicationBuilder napr). neviem ci je len popis zly alebo sa to nemalo mazat
There was a problem hiding this comment.
aha tak uz vidim ze toje v Tester.cs, ok :)
There was a problem hiding this comment.
ITester (povodny) sa rozdelil v na IRegistrator a ITester, IRegistrator executne script a vytiahne z neho testy, ITester sa potom stara o ich spustenie
Burgyn
left a comment
There was a problem hiding this comment.
Možno to tam je, ale nikde som si to explicitne nevšimol: očakávam, že keď do tej direktívy zadám názov neexistujúceho testu tak mi to padne na nejakej explicitnej exception. Dôvod je taký, že tým že sú to strings tak sa človek môže preklepnúť, tak nech sa o tom dozvie že tam dal niečo čo nebude vlastne fungovať.
| }); | ||
|
|
||
| True(executed); | ||
| // Test is registered but not executed yet (that's Tester's job) |
This branch adds a new RETRY-UNTIL-TEST-PASS directive to TeaPie that allows HTTP requests to be retried until a specific test passes.
Key Features Added:
New Directive:
Architecture Changes:
Core Implementation:
Demo/Examples:
Close #58