Merged in feature/tests (pull request #117)

Feature/tests

* improvetests

* generation

* simplifiedtesting

* simplifiedtesting

* longfile
This commit is contained in:
Michael McGuinness
2025-04-23 17:51:44 +00:00
parent 47fec079e5
commit bbe6f4188e
38 changed files with 4243128 additions and 616 deletions
+1
View File
@@ -40,6 +40,7 @@ func CreateDB(t testing.TB, ctx context.Context, cfg serviceconfig.ConfigProvide
"POSTGRES_USER": user,
"POSTGRES_PASSWORD": pass,
},
Cmd: []string{"postgres", "-c", "max_connections=1000"},
ExposedPorts: []string{port.Port()},
WaitingFor: wait.ForAll(
wait.ForExposedPort(),
+1
View File
@@ -269,6 +269,7 @@ func NormaliseAlias(fullName string) string {
name := strings.ToLower(fullName)
name = strings.ReplaceAll(name, "/", "_")
name = strings.ReplaceAll(name, " ", "_")
name = strings.ReplaceAll(name, "-", "_")
return name
}
+1 -1
View File
@@ -90,7 +90,7 @@ func TestCreateFullDependencies(t *testing.T) {
cleanup()
}
func TestDepNetworkGet(t *testing.T) {
func TestCreateFullNetwork(t *testing.T) {
if testing.Short() {
t.Skip("Skipping long test in short mode")
}