Created
February 8, 2021 07:13
-
-
Save ivancorrales/16a4a6cfe1fbca3037123a95cb80d2a6 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
# 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