File: testing.rst

package info (click to toggle)
python-traitsui 7.2.1-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 18,236 kB
  • sloc: python: 56,050; makefile: 113
file content (59 lines) | stat: -rw-r--r-- 1,315 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
.. _testing-traitsui-applications:

=============================
Testing TraitsUI Applications
=============================

TraitsUI provides a toolkit independent API to help developers check the
behavior of their applications in automated tests.

Most of the testing functionality can be accessed via the |testing.api| module.

.. note::
   The testing library is relatively new compared to other features in
   TraitsUI. Built-in support for testing TraitsUI editors are continuously
   being added.


Get started
===========

.. toctree::
   :maxdepth: 1

   testing/tutorials/first_test
   testing/tutorials/test_with_nested_object

How-to guides
=============

.. toctree::
   :maxdepth: 1

   testing/howtos/add_new_interaction
   testing/howtos/add_new_location


Discussions
===========

.. toctree::
   :maxdepth: 1

   testing/discussions/automated_vs_manual_test
   testing/discussions/debugging-gui-tests-at-runtime
   testing/discussions/compatibility_pyface_testing
   testing/discussions/event_loop_and_exceptions
   testing/discussions/target_interaction_location
   testing/discussions/working_of_extensions

Technical Reference
===================

.. toctree::
   :maxdepth: 1

   testing/references/examples
   API Reference <../api/traitsui.testing>

.. include:: testing/substitutions.rst