Onsi Fakhouri
Onsi Fakhouri
thanks for reporting this. I'll need to investigate and circle back.
That's a good call out - I'll need to look into how feasible this will be to remedy and have added it to the 2.0 roadmap.
This is fixed in [v2](#711)
I'm hoping around June/July
The V2 beta includes this change. Docs for using the beta are [here](https://github.com/onsi/ginkgo/blob/ver2/docs/MIGRATING_TO_V2.md#using-the-beta).
Ginkgo does not currently support `testing.T.TempDir()` because Ginkgo doesn't have a mechanism yet to register cleanup functions outside of the developer formally constructing an `AfterEach` themselves. Adding support for `T.Cleanup()`...
I'm aiming to add support for this in [v2](#711)
This is now fixed in V2. Docs for using the beta are [here](https://github.com/onsi/ginkgo/blob/ver2/docs/MIGRATING_TO_V2.md#using-the-beta). `GinkgoT()` now supports `TempDir()` and `Setenv()`. More importantly, Ginkgo implements `DeferCleanup` which enables support for helper functions...
+1. Here's a couple of additional ideas/patterns. There really isn't a "right" or "wrong" way to do any of this - just whatever makes sense to you and helps you...
hey there - sorry if this has been frustrating. i'm planning to reintroduce a `ReportBeforeSuite` in an upcoming release but don't have a timeline for you yet. :(