Uploaded image for project: 'Bitbucket Data Center'
  1. Bitbucket Data Center
  2. BSERV-7883

atlas-remote-test ignores tests with @RunWith(AtlassianPluginsTestRunner.class)

      The following class is ignored as a wired test and not included in tests useing atlas-remote-test:

      package it.com.pbaranchikov.stash.checks;
      
      import org.junit.runner.RunWith;
      
      import com.atlassian.plugins.osgi.test.AtlassianPluginsTestRunner;
      
      @RunWith(AtlassianPluginsTestRunner.class)
      public class InheritedEolTest extends AbstractGitCheck {
      ...
      

      Instead, if I specify AtlassianPluginsTestRunner as a full class name, it is treated as wired test successfully:

      package it.com.pbaranchikov.stash.checks;
      
      import org.junit.runner.RunWith;
      
      @RunWith(com.atlassian.plugins.osgi.test.AtlassianPluginsTestRunner.class)
      public class RegularCommitsTest extends AbstractGitCheck {
      ...
      

            [BSERV-7883] atlas-remote-test ignores tests with @RunWith(AtlassianPluginsTestRunner.class)

            No work has yet been logged on this issue.

              Unassigned Unassigned
              5425da413512 Pavel Baranchikov
              Affected customers:
              0 This affects my team
              Watchers:
              2 Start watching this issue

                Created:
                Updated: