]
Filip Brychta resolved SWSQE-701.
---------------------------------
Resolution: Done
See
Get code coverage for system tests
----------------------------------
Key: SWSQE-701
URL:
https://issues.jboss.org/browse/SWSQE-701
Project: Kiali QE
Issue Type: Sub-task
Reporter: Filip Brychta
Assignee: Filip Brychta
Priority: Major
Labels: infrastructure
# add main go test file which will basically just call main() function to start kiali
# compile kiali in "code coverage ready" way: go test -c -covermode=count
-coverpkg ./...
# use this binary to create kiali docker image
# start this docker image with following params: -systemTest
-test.coverprofile /opt/kiali/console/coverage.cov
# run tests
# kill kiali in a graceful way (after this step the coverage report should be generated)
# get report from docker container