The following test doesn't pass and it's the last one that needs to be corrected to finally have only green tests for Sindarin:
SindarinDebuggerTest>>#testIsExecutionFinished
| scdbg |
scdbg := SindarinDebugger debug: [ self helperMethod16 ].
self deny: scdbg isExecutionFinished.
scdbg
stepOver;
step;
step;
stepOver;
step;
stepOver;
step.
"Reached `self isActiveProcess` in Process>>#terminate"
self assert: scdbg isExecutionFinished
This is because it does multiple steps when the debguged method contains only one message and a return so only 2 stepOver| should be performed:
We'll then see if the tested method works fine or not
The following test doesn't pass and it's the last one that needs to be corrected to finally have only green tests for Sindarin:
This is because it does multiple steps when the debguged method contains only one message and a return so only 2
stepOver| should be performed:We'll then see if the tested method works fine or not