Uploaded image for project: 'Beam'
  1. Beam
  2. BEAM-2335

Document various maven commands for running tests

Details

    • Improvement
    • Status: Resolved
    • P2
    • Resolution: Won't Do
    • None
    • Not applicable
    • testing

    Description

      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

      Attachments

        Activity

          People

            Unassigned Unassigned
            yuzhihong@gmail.com Ted Yu
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: