[
https://issues.apache.org/jira/browse/CHAIN-92?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13684651#comment-13684651
]
Benedikt Ritter commented on CHAIN-92:
--------------------------------------
I'm working on this right now. I have created a new module in my working copy
and implemented a hamcrest matcher that provides the same functionality as
{{checkExecuteLog(String)}}. Calls to {{checkExecuteLog(String)}} can be
replaced by {{assertThat(context, hasLog(String))}}. I'll be ready to commit
this first implementation tonight.
> Create a new module containing common test code and utilities
> -------------------------------------------------------------
>
> Key: CHAIN-92
> URL: https://issues.apache.org/jira/browse/CHAIN-92
> Project: Commons Chain
> Issue Type: Test
> Affects Versions: 2.0
> Reporter: Benedikt Ritter
> Assignee: Benedikt Ritter
> Fix For: 2.0
>
>
> There is a lot of redundancy in the test code. For example the method
> {{checkExecuteLog(String)}} is defined more than once. Beside that, the
> xml-config module has a dependency on the test-jar of chain2-base, because it
> uses the test command implementations.
> We can get rid of this, by defining a common module, that contains test code
> for the other modules.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira