You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@beam.apache.org by "Davor Bonaci (JIRA)" <ji...@apache.org> on 2017/05/27 00:06:04 UTC

[jira] [Commented] (BEAM-2335) Document various maven commands for running tests

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

Davor Bonaci commented on BEAM-2335:
------------------------------------

This would be nice contribution!

> Document various maven commands for running tests
> -------------------------------------------------
>
>                 Key: BEAM-2335
>                 URL: https://issues.apache.org/jira/browse/BEAM-2335
>             Project: Beam
>          Issue Type: Improvement
>          Components: testing
>            Reporter: Ted Yu
>            Assignee: Davor Bonaci
>
> In this discussion thread, various maven commands for running / not running selected tests were mentioned:
> http://search-hadoop.com/m/Beam/gfKHFd9bPDh5WJr1?subj=Re+How+can+I+disable+running+Python+SDK+tests+when+testing+my+Java+change+
> We should document these commands under https://beam.apache.org/contribute/testing/ 
> Borisa raised the following questions:
> how do I execute only one test marked as @NeedsRunner?
> How do I execute one specific test in java io?
> How to execute one pecific test in any of the runners?
> How to use beamTestpipelineoptions with few json examples?
> Will mvn clean verify execute ALL tests against all runners?
> For the #1 above, we can create profile which is used run tests in NeedsRunner category.
> See the following:
> http://stackoverflow.com/questions/3100924/how-to-run-junit-tests-by-category-in-maven



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)