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 terry.reedy
Recipients r.david.murray, roger.serwy, terry.reedy
Date 2012-07-19.23:23:24
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1342740205.85.0.274796866927.issue15392@psf.upfronthosting.co.za>
In-reply-to
Content
I have not really used unittest, so I only know to blindly copy what has been done. Hence I need help to do better.

Do you actually get gui tests for test_tk? When I run test/test_tk from Idle editor, and hence as __main__, I only get non-gui tests in spite of enable_gui being set True. Or maybe I just did not see them. (This is actually an improvement over the normal failure of test_tk on Windows. See #10652)

Is tkinter/test/runtktests properly called a test runner?
test/test_tk uses it to gather the tests to run:
support.run_unittest(
    *runtktests.get_tests(text=False, packages=['test_tkinter']))
It is used within the ttk tests also. As I suggested above, I do not really know if we really need the equivalent.

I strongly prefer idlelib/test since it will make developing **much** easier for me on Windows. Also, it would be part of the optional install of idlelib, as tkinter/test is for tkinter.

Adding test/test_idle will not be too much use until issue #10652 is resolved so it would actually run with -m test.
History
Date User Action Args
2012-07-19 23:23:25terry.reedysetrecipients: + terry.reedy, roger.serwy, r.david.murray
2012-07-19 23:23:25terry.reedysetmessageid: <1342740205.85.0.274796866927.issue15392@psf.upfronthosting.co.za>
2012-07-19 23:23:25terry.reedylinkissue15392 messages
2012-07-19 23:23:24terry.reedycreate