Qt wiki will be updated on October 12th 2023 starting at 11:30 AM (EEST) and the maintenance will last around 2-3 hours. During the maintenance the site will be unavailable.
Squish: Difference between revisions
Jump to navigation
Jump to search
m (fix links) |
m (Fix ownership of Squish (now being developed by The Qt Company)) |
||
Line 2: | Line 2: | ||
[[Category:Squish]] | [[Category:Squish]] | ||
Squish is a tool developed by [http://www. | Squish is a tool developed by [http://www.qt.io/ The Qt Company] used for automatic testing of Qt applications. | ||
== Guidelines == | == Guidelines == |
Revision as of 12:25, 16 February 2022
Squish is a tool developed by The Qt Company used for automatic testing of Qt applications.
Guidelines
Tips and Tricks
- Verifying the value of a QLabel
- Verifying the existence of a menu item
- Finding list items that ends in a given string
- Robust selection of items in a tree or list view with variable text
- Iterating through a table
- Custom settings for test runs
- Waiting for input from the test operator
- Hooking into slow-launching subprocesses on Windows
- Waiting for a progress bar or progress dialog
- Navigating a QDateEdit
- Using Squish and custom properties
- Generating test data
- Calculating checksums
- Clicking link in label
- Interacting with menus and menu items
- Remember to use native type for hard to predict objects
- Use a decorator to profile tests
Training
KDAB offers help and training with Squish.