Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
# 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