You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Integration tests for the batchTestGenerator tool should be added for each command. Ideas for command integration tests are outlined below. Most of these can be done through the use of shell commands.
local: Using a dedicated testcase input file generate a local test-case-batch file and verify that the test-case-batch file contains all expected test cases.
github: Using a dedicated testcase input file generate the github actions outputs and validate that batch-keys contains the expected keys and all test cases are present in the batch-values outputs.
validate: Setup a local DDB instance that can be prepopulated with cache items. Run the validate command and compare actual to expected results.
The text was updated successfully, but these errors were encountered:
bryan-aguilar
changed the title
Add integration tests to batchTestGenerator
Add integration tests for batchTestGenerator
May 4, 2022
Integration tests for the batchTestGenerator tool should be added for each command. Ideas for command integration tests are outlined below. Most of these can be done through the use of shell commands.
local
: Using a dedicatedtestcase
input file generate a localtest-case-batch
file and verify that thetest-case-batch
file contains all expected test cases.github
: Using a dedicatedtestcase
input file generate the github actions outputs and validate thatbatch-keys
contains the expected keys and all test cases are present in thebatch-values
outputs.validate
: Setup a localDDB
instance that can be prepopulated with cache items. Run thevalidate
command and compare actual to expected results.The text was updated successfully, but these errors were encountered: