Isolation
Cases that run in sequence can contaminate each other: a case that creates a booking changes what the next case sees. Isolation says whether RigorRun could stop that.
| What it means | |
|---|---|
RESET | The cases were observed to start from the same state. RigorRun performed the reset itself and compared. |
PARTIAL | Reset ran, and only some of the state came back the same. |
DECLARED | A reset was nominated, and nothing has run it twice and compared the results. Believed, not observed. |
NONE | There is no way to put the system back. |
DECLARED is not a weaker RESET
Section titled “DECLARED is not a weaker RESET”With no reset at all
Section titled “With no reset at all”A system with NONE still works, and produces a smaller suite:
- Repeated mutating cases are switched off rather than quietly run.
- Every result says the cases could have affected each other.
- Suite quality checking is unavailable, because it runs the suite several times and most of those runs write.
That is a fair trade, and it is better than a suite that looks complete and is not.