[jbosstools-issues] [JBoss JIRA] (JBDS-3303) [unit test] versionwatch should not fail silently when the report is empty

Nick Boldt (JIRA) issues at jboss.org
Wed Jan 7 17:41:29 EST 2015


    [ https://issues.jboss.org/browse/JBDS-3303?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13030694#comment-13030694 ] 

Nick Boldt commented on JBDS-3303:
----------------------------------

PR to support filtering which versions to compare (eg., to exclude diffing a JBDS 8 build against a future JBDS 9 build when we just want versionwatch for JBDS 8.0.x), and to better run the versionwatch tool (via shell script in Jenkins, instead of a mix of maven and shell) so we can perform unit testing on the results. Unit tests currently include:

{code}
egrep -l "<td>|<tr>" -- empty report
egrep -l "ERROR -- report with errors
{code}

https://github.com/jbdevstudio/jbdevstudio-qa/pull/30

[~psrna], please review.

> [unit test] versionwatch should not fail silently when the report is empty
> --------------------------------------------------------------------------
>
>                 Key: JBDS-3303
>                 URL: https://issues.jboss.org/browse/JBDS-3303
>             Project: Developer Studio (JBoss Developer Studio)
>          Issue Type: Bug
>          Components: build
>    Affects Versions: 8.0.1.GA
>            Reporter: Nick Boldt
>            Assignee: Nick Boldt
>
> versionwatch should not fail silently when the report is empty, such as:
> {code}
> JBDS Version Watch
> Feature list for filter = .*(hibernate\|jboss\|xulrunner).*
> Plugin list for filter = .*(hibernate\|jboss\|xulrunner).*
> Generated by VersionWatch 0.3.0 in 0 min, 4 sec at 2014-12-14 20:19:34.853.
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.11#6341)


More information about the jbosstools-issues mailing list