This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author ezio.melotti
Recipients Arfrever, ezio.melotti, vstinner
Date 2011-06-01.11:15:50
SpamBayes Score 8.8308894e-05
Marked as misclassified No
Message-id <1306926951.3.0.874386246848.issue12231@psf.upfronthosting.co.za>
In-reply-to
Content
IMHO it would be better to tweak regrtest so that it understand test_file.TestClass.test_method, possibly supporting wildcards.
E.g.:
  - ./python -m test test_subprocess.POSIXProcessTestCase
  - ./python -m test test_subprocess.POSIXProcessTestCase.test_pass_fds
  - ./python -m test '*codecencoding*'
  - ./python -m test 'test_subprocess.C*'

The -x/--exclude option could be extended to support this notation too and make possible to exclude specific tests classes/methods.
Wildcards are less flexible than regex, but I think they are good enough for our use case and simpler to use.
History
Date User Action Args
2011-06-01 11:15:51ezio.melottisetrecipients: + ezio.melotti, vstinner, Arfrever
2011-06-01 11:15:51ezio.melottisetmessageid: <1306926951.3.0.874386246848.issue12231@psf.upfronthosting.co.za>
2011-06-01 11:15:50ezio.melottilinkissue12231 messages
2011-06-01 11:15:50ezio.melotticreate