Skip to content

Commit

Permalink
Doc: link to the testlib tutorial section on skipping
Browse files Browse the repository at this point in the history
Short of expanding Qt Test Best Practices to have a section about
QEXPECT_FAIL, we can link to some existing documentation that briefly
covers it.

Pick-to: 6.2 6.4
Change-Id: I37bf2672e4b5b6e7315e009f86d03eeb7937d50e
Reviewed-by: Leena Miettinen <[email protected]>
  • Loading branch information
mitchcurtis committed Oct 31, 2022
1 parent fa4c8fa commit c30c76c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/testlib/doc/src/qttest-best-practices.qdoc
Original file line number Diff line number Diff line change
Expand Up @@ -221,6 +221,9 @@
mac*: SUBDIRS -= someclass
\endcode

See also \l {Chapter 6: Skipping Tests with QSKIP}
{Skipping Tests with QSKIP}.

\section2 Avoid Q_ASSERT

The \l Q_ASSERT macro causes a program to abort whenever the asserted
Expand Down

0 comments on commit c30c76c

Please sign in to comment.