[overlord-issues] [JBoss JIRA] (ARTIF-140) Create unit tests for shell commands

Brett Meyer (JIRA) issues at jboss.org
Fri Jul 10 14:50:02 EDT 2015


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

Brett Meyer commented on ARTIF-140:
-----------------------------------

We already fully cover (or should be fully covering) the Java client through integration tests.  So for the CLI tests, I'm making them true *unit* tests by using Mockito to mock out the Java client and assert calls made to it.

> Create unit tests for shell commands
> ------------------------------------
>
>                 Key: ARTIF-140
>                 URL: https://issues.jboss.org/browse/ARTIF-140
>             Project: Artificer
>          Issue Type: Feature Request
>            Reporter: Eric Wittmann
>            Assignee: Brett Meyer
>            Priority: Minor
>             Fix For: 1.1.0.Final
>
>
> I currently have poor junit coverage in the s-ramp-shell project.  I need to create some unit tests, both for executing commands as well as for ancillary functionality like tab-completion.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


More information about the overlord-issues mailing list