Last active
February 17, 2021 07:08
-
-
Save ivancorrales/7cf3a5927cdad9fb58037d3fd80ffbb2 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
description = <<EOF | |
This feature verify that API works as expected | |
EOF | |
includes = [ | |
"includes/database.hcl", | |
"includes/api.hcl", | |
"happyPath.hcl", | |
"signUp-failures.hcl", | |
"signIn-failures.hcl", | |
"showProfile-failures.hcl" | |
] | |
input { | |
arg baseApi { | |
description = "URL base of the API" | |
default = "http://localhost:3000/api" | |
} | |
arg mongoConn { | |
description = "a map with connection details { uri='', username='', password=''}" | |
} | |
} | |
before each { | |
call dropCollection{ | |
with { | |
mongoUri = mongoConn.uri | |
credentials = { | |
username = mongoConn.username | |
password = mongoConn.password | |
} | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment