[issue8324] add a distutils test command

2010-09-07 Thread Éric Araujo
Éric Araujo added the comment: Implemented by Konrad and merged into the main repo. -- resolution: accepted -> fixed stage: needs patch -> committed/rejected status: open -> closed ___ Python tracker __

[issue8324] add a distutils test command

2010-07-01 Thread Éric Araujo
Changes by Éric Araujo : -- resolution: -> accepted stage: -> needs patch versions: -Python 3.3 ___ Python tracker ___ ___ Python-bu

[issue8324] add a distutils test command

2010-05-24 Thread Barry A. Warsaw
Changes by Barry A. Warsaw : -- nosy: +barry ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.

[issue8324] add a distutils test command

2010-05-09 Thread Tarek Ziadé
Tarek Ziadé added the comment: @Eric: I asked for the gsoc keyword to make my work easier in bug triage. And as a matter of fact, it means that the issue part of the GSoC. -- keywords: +gsoc ___ Python tracker ___

[issue8324] add a distutils test command

2010-05-09 Thread Dan Buch
Dan Buch added the comment: @mfoord thank you for the clarification! :) -- ___ Python tracker ___ ___ Python-bugs-list mailing list Un

[issue8324] add a distutils test command

2010-05-09 Thread Michael Foord
Michael Foord added the comment: Documentation for unittest.TestLoader.discover(...) is at: http://docs.python.org/dev/library/unittest.html#unittest.TestLoader.discover -- ___ Python tracker _

[issue8324] add a distutils test command

2010-05-09 Thread Michael Foord
Michael Foord added the comment: unittest2 is used for distutils2 development, but *not* a required dependency for *using* distutils2 (if I understand correctly(. Well, if there is no test runner and no test suite specified but the test command is invoked then the steps should probably be som

[issue8324] add a distutils test command

2010-05-09 Thread Éric Araujo
Changes by Éric Araujo : -- keywords: -gsoc ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.

[issue8324] add a distutils test command

2010-05-09 Thread Éric Araujo
Changes by Éric Araujo : -- nosy: +konryd ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org

[issue8324] add a distutils test command

2010-05-09 Thread Éric Araujo
Éric Araujo added the comment: Not a unittest expert, but I suspect that usual test for features will work: try: from unittest.something.discovery import Loader except ImportError: from unittest2.something.discovery import Loader Adding Konrad to nosy, since adding new commands will be

[issue8324] add a distutils test command

2010-05-09 Thread Dan Buch
Dan Buch added the comment: @merwok I know ;-) ... should I assume that it's an installation requirement a la `install_requires=['unittest2']`, or do:: try: load_tests_with_unittest2() except ImportError: load_tests_with_custom_test_loader() ? -- ___

[issue8324] add a distutils test command

2010-05-09 Thread Éric Araujo
Éric Araujo added the comment: unittest2 is the name of the independent release of the improved unittest package in 2.7’s and 3.2’s stdlib. -- ___ Python tracker ___ ___

[issue8324] add a distutils test command

2010-05-09 Thread Dan Buch
Dan Buch added the comment: Should I assume that unittest2 is an installation requirement of distutils2, or is it preferable to try using unittest2 and falling back to a custom TestLoader? Sorry if I'm reading too much into this :-/ -- ___ Python

[issue8324] add a distutils test command

2010-05-09 Thread Michael Foord
Michael Foord added the comment: Adapting the setuptools command is a great way to start of course. Please see my note about using unittest/unittest2 test discovery as a default command if unitest2 is available and no test_suite is specified. I'm very happy to help with this. -- ___

[issue8324] add a distutils test command

2010-05-08 Thread Dan Buch
Dan Buch added the comment: For what it's worth, I'm trying to adapt the setuptools command of the same name in a feature branch called "mbh/adding-test-command" --> http://bitbucket.org/meatballhat/distutils2/ Not sure how the roundup/ split is usually handled, so sorry if I'm doin it wrong

[issue8324] add a distutils test command

2010-04-30 Thread Dan Buch
Changes by Dan Buch : -- nosy: +meatballhat ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.o

[issue8324] add a distutils test command

2010-04-06 Thread Éric Araujo
Changes by Éric Araujo : -- nosy: +merwok ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org

[issue8324] add a distutils test command

2010-04-06 Thread Zubin Mithra
Changes by Zubin Mithra : -- nosy: +zubin71 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.o

[issue8324] add a distutils test command

2010-04-05 Thread Giampaolo Rodola'
Changes by Giampaolo Rodola' : -- nosy: +giampaolo.rodola ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http:/

[issue8324] add a distutils test command

2010-04-05 Thread Michael Foord
Michael Foord added the comment: Should default to test discovery if no arguments are supplied. Valid arguments: "testrunner", "tests" or "testsuite". Default testrunner is unittest of course. "tests" / "testsuite" to be of the form: "package.module.suitename" (or just "package.module").