[ 
https://issues.apache.org/jira/browse/SCM-981?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17540681#comment-17540681
 ] 

ASF GitHub Bot commented on SCM-981:
------------------------------------

nielsbasjes commented on PR #140:
URL: https://github.com/apache/maven-scm/pull/140#issuecomment-1133973802

   I have 
   - Fixed a few broken tests.
   - Added a tck-hg and tck-local for consistency
   - Added a run-its profile that runs all.
   - Added the method ScmTckTestCase::getScmProviderCommand which either 
returns null (i.e. no command needs to exist) or the name of the command that 
must exist.
   This has been overridden in all `Hg...TckTest` , `SvnExe...TckTest` and 
`GitExe...TckTest` classes (except the two specials mentioned above). This 
method is checked before each test and ignores tests for which the required 
command is missing.
   
   Classes with things I consider "unexpected" and have not changed:
   - GitListCommandTckTest is abstract and not actually implemented anywhere.
   - GitInfoCommandTckTest extends ScmTestCase instead of ScmTckTestCase
   
   




> Several integration tests are never run and fail if you do.
> -----------------------------------------------------------
>
>                 Key: SCM-981
>                 URL: https://issues.apache.org/jira/browse/SCM-981
>             Project: Maven SCM
>          Issue Type: Bug
>            Reporter: Niels Basjes
>            Assignee: Michael Osipov
>            Priority: Major
>
> The README.md states
> {quote}Run all the tests with `mvn -Prun-its verify` to assure nothing else 
> was accidentally broken.
> {quote}
> The Github actions reuses for the CI build
> {code:java}
> apache/maven-gh-actions-shared/.github/workflows/maven-verify.yml@v2{code}
> which does the same
> {code:java}
> ./mvnw --errors --batch-mode --show-version -D"invoker.streamLogsOnFailures" 
> -P run-its verify{code}
> [https://github.com/apache/maven-gh-actions-shared/blob/v2/.github/workflows/maven-verify.yml#L167]
> [https://github.com/apache/maven-gh-actions-shared/blob/v2/.github/workflows/maven-verify.yml#L93]
> The snag is that this profile does not exist in this project.
> I asked this and was told to use the `tck-git` profile
> [https://github.com/apache/maven-scm/pull/134#issuecomment-1130214768]
> I found that there is also a `tck-svn` profile and a `tck` profile.
> When I run `mvn clean verify -Ptck` there are several tests that fail and are 
> apparently never run by anyone.
>  
> Proposal: 
>  * Create a profile run-its that simply activates the appropriate tck 
> profiles.
>  * Fix the failing tests.
>  



--
This message was sent by Atlassian Jira
(v8.20.7#820007)

Reply via email to