[jboss-jira] [JBoss JIRA] (SWSQE-701) Get code coverage for system tests

Filip Brychta (Jira) issues at jboss.org
Tue Apr 9 02:25:00 EDT 2019


     [ https://issues.jboss.org/browse/SWSQE-701?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Filip Brychta reopened SWSQE-701:
---------------------------------


https://github.com/kiali/kiali/pull/974 introduces operator which requires different approach

> 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



--
This message was sent by Atlassian Jira
(v7.12.1#712002)


More information about the jboss-jira mailing list