You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Julian Sedding (Jira)" <ji...@apache.org> on 2021/06/24 15:20:00 UTC

[jira] [Created] (SLING-10547) JUnit TeleporterRule sets incorrect Sling-Test-Regexp

Julian Sedding created SLING-10547:
--------------------------------------

             Summary: JUnit TeleporterRule sets incorrect Sling-Test-Regexp
                 Key: SLING-10547
                 URL: https://issues.apache.org/jira/browse/SLING-10547
             Project: Sling
          Issue Type: Bug
          Components: Testing
    Affects Versions: JUnit Tests Teleporter 1.0.22
            Reporter: Julian Sedding


The {{ClientSideTeleporter}} sets the {{Sling-Test-Regexp}} to the fully qualified class name (FQCN) of the test-class followed by a wildcard (".*"). This causes inner classes to be matched as tests. Since the {{TeleporterRule}} is meant to package individual test classes into an ad-hoc bundle for automatic deployment, it seems more appropriate to set the regexp just to the FQCN of the test-class.

[~bdelacretaz]



--
This message was sent by Atlassian Jira
(v8.3.4#803005)