retry.should 603 Bytes
Newer Older
1 2 3
# should.py --retry relaunches the previous failed or warned tests,
# with the same options that at the first call.

4 5
./should -v demo/hello.should demo/cal.should
./should --retry
6 7 8 9 10 11 12 13 14 15 16 17 18

$ 'cal.should' was labeled as 'TODO-but-ok' at both calls
rl: files with.*TODO-but-ok.*demo/cal.should.*Retrying
rl: Retrying .*files with.*TODO-but-ok.*demo/cal.should

$ At the second call, 'cal.should' is tested, but not 'hello.should'
r0l: Retrying .* demo/hello.should
r1l: Retrying .* demo/cal.should

$ The option '-v' was used at both calls
rl: 7 months have 31 days.*Retrying
rl: Retrying.*7 months have 31 days