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

[python] allow tests to be specified when using tox

Details

    • Improvement
    • Status: Resolved
    • P2
    • Resolution: Fixed
    • None
    • 2.16.0
    • sdk-py-core
    • None

    Description

      I don't know how to specify individual tests using gradle, and as a python developer, it's way too opaque for me to figure out on my own.

      The developer wiki suggest calling the tests directly:

      python setup.py nosetests --tests <module>:<test class>.<test method>
      

      But this defeats the purpose of using tox, which is there to help users manage the myriad virtual envs required to run the different tests.

      Luckily there is an easier way! You just add

      {posargs}

      to the tox commands. PR is coming shortly.

      Attachments

        Issue Links

          Activity

            People

              chadrik Chad Dombrova
              chadrik Chad Dombrova
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 1h 10m
                  1h 10m