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

Arturo Bernal commented on JSPWIKI-1264:
----------------------------------------

Checked master. The package org.apache.wiki.tags has 64 classes whose names end 
in Tag, and the test sources of jspwiki-main have no test class in a tags 
package. A test of a tag can be written with mocks of PageContext and 
JspWriter, and with a mock of the parent tag when the tag needs one; I did that 
for one tag in a separate change that is not published yet. Leaving the issue 
open.

> Add unit tests for all JSP tag classes to improve test coverage
> ---------------------------------------------------------------
>
>                 Key: JSPWIKI-1264
>                 URL: https://issues.apache.org/jira/browse/JSPWIKI-1264
>             Project: JSPWiki
>          Issue Type: Improvement
>            Reporter: Alex O'Ree
>            Priority: Minor
>
> addressing this should make an nice improvement in terms of unit test 
> coverage percentage



--
This message was sent by Atlassian Jira
(v10.3.26#10030026)

Reply via email to