Closed maxhora closed 5 years ago
@nikitar020 @liamg could you please approve PR if we're fine to go with these changes; Next steps should be adding validation for vttest test cases, but at the moment available PR with vttest fixes has issues, so we probably can merge this first.
Description
Basic integration of vttest with Aminal to run and validate test cases.
Fixes #150
Type of change
TestCursorMovement
function added tomain_test.go
initialize
function extracted frommain
and used across ui test cases to init constructsmain_test.go
is restricted tolinux
platform onlyBuffer
can save content to file and compare current data with content in provided file pathGui
can save screenshot of Window to file[ ] New feature (non-breaking change which adds functionality)
How Has This Been Tested?
go test
runs main_test.go and fails to compare the imagesxvfb-run --server-args="-screen 0 1024x768x24" make test
should pass fine locallyTest Configuration: