You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Andrei Dulvac (JIRA)" <ji...@apache.org> on 2019/01/02 10:47:00 UTC

[jira] [Commented] (SLING-7295) Readme should outline the differences between SlingRule and SlingInstanceRule

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

Andrei Dulvac commented on SLING-7295:
--------------------------------------

[~kwin], should I add more detail to what's already there?

bq. The SlingRule (for methods) or SlingClassRule are base rules, chaining other rules like TestTimeoutRule, TestDescriptionRule, FilterRule.



> Readme should outline the differences between SlingRule and SlingInstanceRule
> -----------------------------------------------------------------------------
>
>                 Key: SLING-7295
>                 URL: https://issues.apache.org/jira/browse/SLING-7295
>             Project: Sling
>          Issue Type: Improvement
>          Components: Apache Sling Testing Rules
>    Affects Versions: Apache Sling Testing Rules 1.0.6
>            Reporter: Konrad Windszus
>            Priority: Major
>
> The readme at https://github.com/apache/sling-org-apache-sling-testing-rules/blob/master/README.md contains two examples which declare both 
> # {{SlingRule}} (as {{@Rule}}) and
> # {{SlingInstanceRule}} (as {{@ClassRule}})
> Only the latter instance is actually used in the code then, so I am wondering what the reason is for that other rule. It would be good to clarify that in the readme.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)