[
https://issues.apache.org/jira/browse/SCM-939?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17963737#comment-17963737
]
ASF GitHub Bot commented on SCM-939:
------------------------------------
jira-importer opened a new issue, #1165:
URL: https://github.com/apache/maven-scm/issues/1165
**[Elliotte Rusty
Harold](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=elharo)**
opened
**[SCM-939](https://issues.apache.org/jira/browse/SCM-939?redirect=false)** and
commented
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.
---
**Remote Links:**
- [GitHub Pull Request #150
](https://github.com/apache/maven-scm/pull/150)
> Assume SCM is present
> ---------------------
>
> Key: SCM-939
> URL: https://issues.apache.org/jira/browse/SCM-939
> Project: Maven SCM (Moved to GitHub Issues)
> Issue Type: Bug
> Reporter: Elliotte Rusty Harold
> Assignee: Michael Osipov
> Priority: Minor
> Fix For: 2.1.0
>
>
> 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.20.10#820010)