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

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

Ted Yu created BEAM-2335:
----------------------------

             Summary: 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)