Actions
action #78031
closed[qe-core] add golang regression testing
Start date:
Due date:
% Done:
0%
Estimated time:
Difficulty:
Description
Currently, every 6 month a new version of go(lang) is added to the common code base.
The latest two versions are fully supported on SLE.
Older versions drop out of support and don't need to be tested anymore.
(see https://confluence.suse.com/pages/viewpage.action?spaceKey=~msvec&title=Go)
References for go 1.14:
https://jira.suse.com/browse/SLE-12120
https://jira.suse.com/browse/ECO-1484
We need to add some basic test coverage for go(lang) and make sure that the latest two versions of go(lang) for each code stream are covered.
Suggestions¶
- Implement Man or Boy program: https://rosettacode.org/wiki/Man_or_boy_test#Go and test the
go build
,go run
and directly running the binary
AC¶
- Both supported versions of Golang are tested within the same test module
- The mechanism to test both versions is not tied to the code but rather variables, since there are two Golang releases per year (Or the mechanism is easy enough that the modification of it can either be automated, or takes little time
Actions