testcontainers-go icon indicating copy to clipboard operation
testcontainers-go copied to clipboard

[Enhancement]: initialize resources just once

Open mdelapenya opened this issue 3 years ago • 0 comments

Proposal

There is currently much code regarding initialization of the library that is executed per container request:

  • get the docker provider
  • read the properties file
  • define reaper capabilities (image, skip...)
  • initialise the container SessionID just once

We should define at least a better abstraction or at least define a singleton to do it just once.

mdelapenya avatar Oct 05 '22 08:10 mdelapenya