You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Konrad Windszus (JIRA)" <ji...@apache.org> on 2017/12/09 11:19:01 UTC
[jira] [Updated] (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: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)