You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Remove the Uuid test seam from public constructors #1561
Three public constructors take a Uuid parameter that exists only so tests can inject deterministic names:
new Network(uuid?)
new DockerComposeEnvironment(composeFilePath, composeFiles, uuid?)
new GenericContainerBuilder(context, dockerfileName, uuid?)
It is the reason Uuid, RandomUuid and randomUuid are exported from the package. For Network it is the only constructor parameter, which takes the slot that real options would use.
Expected
Public constructors take only user-facing arguments. Tests get deterministic names another way, for example a withName/withProjectName style setter or an internal factory.
Activity