File: automated_vs_manual_test.rst

package info (click to toggle)
python-traitsui 8.0.0-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 18,232 kB
  • sloc: python: 58,982; makefile: 113
file content (21 lines) | stat: -rw-r--r-- 961 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
Limitations on automated GUI testing
====================================

The testing library allows more manual GUI tests to be rewritten as automated
tests. However, automated tests cannot replace manual testing entirely, and
there exists toolkit-dependent and platform-dependent limitations as to what
can be achieved for programmatically imitating user interactions, e.g. the
animation of a button being depressed when clicked may not be replicated in
automated tests.

The |UITester.delay| parameter allows playing back a test for visual
confirmation, but it may not look identical to how the GUI looks when it is
tested manually.

If the GUI / trait states being asserted in tests are not consistent compared
to manually testing, then that is likely a bug. Please report it.

If the GUI / trait states being asserted in tests are consistent with manual
testing, then such visual discrepancies may have to be tolerated.

.. include:: ../substitutions.rst