[
https://issues.apache.org/jira/browse/SLING-7295?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Konrad Windszus updated SLING-7295:
-----------------------------------
Description:
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.
was:
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.
> 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
>
> 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
(v6.4.14#64029)