You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Elliotte Rusty Harold (Jira)" <ji...@apache.org> on 2020/05/11 10:58:00 UTC

[jira] [Created] (SCM-939) Assume SCM is present

Elliotte Rusty Harold created SCM-939:
-----------------------------------------

             Summary: Assume SCM is present
                 Key: SCM-939
                 URL: https://issues.apache.org/jira/browse/SCM-939
             Project: Maven SCM
          Issue Type: Bug
            Reporter: Elliotte Rusty Harold


We have a lot of tests that do something like this:

 

if ( !ScmTestCase.isSystemCmd( SvnScmTestUtils.SVN_COMMAND_LINE ) )
 {
 ScmTestCase.printSystemCmdUnavail( SvnScmTestUtils.SVN_COMMAND_LINE, getName() );
 return;
 }

 

We should instead use org.*junit*.*Assume* here so these are marked as skipped rather than passed.

 



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