When an example has an after: method, that method can clear resources, close connections (e.g when having proxy objects), etc. When inspecting those objects they might no longer be interesting or be in an invalid state. We should have a way to run an example and inspect the resulting object, without running after: automatically.
Users will have to then run it manually later on, but that would give us a chance to inspect objects like proxies from examples.
When an example has an
after:
method, that method can clear resources, close connections (e.g when having proxy objects), etc. When inspecting those objects they might no longer be interesting or be in an invalid state. We should have a way to run an example and inspect the resulting object, without runningafter:
automatically.Users will have to then run it manually later on, but that would give us a chance to inspect objects like proxies from examples.