You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@yunikorn.apache.org by "Wilfred Spiegelenburg (Jira)" <ji...@apache.org> on 2022/03/16 00:12:00 UTC

[jira] [Commented] (YUNIKORN-208) Increase unit test coverage for webservice.go

    [ https://issues.apache.org/jira/browse/YUNIKORN-208?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17507270#comment-17507270 ] 

Wilfred Spiegelenburg commented on YUNIKORN-208:
------------------------------------------------

The latest run for the package shows a far better coverage:
{code:java}
ok      github.com/apache/incubator-yunikorn-core/pkg/webservice    5.351s    coverage: 78.8% of statements
?       github.com/apache/incubator-yunikorn-core/pkg/webservice/dao    [no test files] {code}
The webservice.go file gets a 32% test coverage based on all the other tests that are run.

Are you looking at adding a smoke test using a real HTTP client or just unit tests?

> Increase unit test coverage for webservice.go
> ---------------------------------------------
>
>                 Key: YUNIKORN-208
>                 URL: https://issues.apache.org/jira/browse/YUNIKORN-208
>             Project: Apache YuniKorn
>          Issue Type: Sub-task
>          Components: webapp
>            Reporter: Weiwei Yang
>            Assignee: Ting Yao,Huang
>            Priority: Major
>
> The webapp package coverage is less than 20%. We need to add more unit tests for this.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@yunikorn.apache.org
For additional commands, e-mail: issues-help@yunikorn.apache.org