Skip to content

Instantly share code, notes, and snippets.

@ivancorrales
Created February 8, 2021 07:13
Show Gist options
  • Save ivancorrales/16a4a6cfe1fbca3037123a95cb80d2a6 to your computer and use it in GitHub Desktop.
Save ivancorrales/16a4a6cfe1fbca3037123a95cb80d2a6 to your computer and use it in GitHub Desktop.
# scenario-sum.hcl
scenario "operation add" {
when "values are added" {
set result {
value = x + y
}
}
then "the result of the operation is the expected" {
assert {
assertion = result==sumResult
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment