cpython/Lib/lib-tk/test
Serhiy Storchaka 199b7d5662 Issue #22115: Fixed tracing Tkinter variables.
* trace_vdelete() with wrong mode no longer break tracing
* trace_vinfo() now always returns a list of pairs of strings
2016-06-26 17:41:14 +03:00
..
test_tkinter Issue #22115: Fixed tracing Tkinter variables. 2016-06-26 17:41:14 +03:00
test_ttk Issue #26386: Fixed ttk.TreeView selection operations with item id's 2016-06-14 12:46:14 +03:00
README
runtktests.py Issue #18492: Allow all resources when tests are not run by regrtest.py. 2014-06-02 16:01:16 -05:00
widget_tests.py Issue #26177: Fixed the keys() method for Canvas and Scrollbar widgets. 2016-03-09 10:51:41 +02:00

README

Writing new tests
=================

Precaution
----------

    New tests should always use only one Tk window at once, like all the
    current tests do. This means that you have to destroy the current window
    before creating another one, and clean up after the test. The motivation
    behind this is that some tests may depend on having its window focused
    while it is running to work properly, and it may be hard to force focus
    on your window across platforms (right now only test_traversal at
    test_ttk.test_widgets.NotebookTest depends on this).