feenkcom / gtoolkit

Glamorous Toolkit is the Moldable Development environment. It empowers you to make systems explainable through experiences tailored for each problem.
https://gtoolkit.com
MIT License
1.09k stars 47 forks source link

Offer a way to run examples without running the `after:` method #3756

Open chisandrei opened 4 months ago

chisandrei commented 4 months ago

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.

girba commented 4 months ago

Right now we have a popup with a warning. We should have a choice here.

Screenshot 2024-05-10 at 10 19 54