[ 
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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to