QDoc Regression Testing: Difference between revisions
No edit summary |
(It's about documentation) |
||
(5 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
[[Category:Developing Qt::Documentation]] | |||
{{LangSwitch}} | |||
This page outlines a list of pages and functionalities that must be tested | This page outlines a list of pages and functionalities that must be tested | ||
for every commit to QDoc. Not all of the items in the list applies and it is | for every commit to QDoc. Not all of the items in the list applies and it is | ||
Line 9: | Line 9: | ||
This is a list of tests. Testing these pages should be enough to cover most cases. | This is a list of tests. Testing these pages should be enough to cover most cases. | ||
# Compile Code | |||
# Look at index.html | |||
# Look at the Modules page for links to all essentials and add-ons | |||
# Look at All Classes | |||
# Look at All QML Types | |||
# Look at qtdoc->qtdoc links | |||
# Look at qtbase->qtbase links | |||
# Look at new module->new module links (qtsensors to qtsensors, for example) | |||
# Look at the "5.2" navigation bar | |||
# Look at Creator docs or another non-Qt 5 docs | |||
# More pages which show obscure edge cases | |||
QML Cases: | QML Cases: | ||
* Item (C++ page, QML type) | |||
* Button (QML page, QML type) | |||
* Audio, Sensor, Positioning, other QML types that is outside of qtdeclarative. | |||
* also possible to test Charts, B2Qt, and Enterprise Controls | |||
There is a separate C++ and QML parser, so these need special attention | There is a separate C++ and QML parser, so these need special attention | ||
C++ Cases: | C++ Cases: | ||
* QObject (the inheritance) | |||
* another class in qtbase (Qt SQL and Qt Network are stable and easy to check) | |||
* qtdeclarative | |||
* new module C++ classes | |||
Check the Properties, Functions, grouped properties, inheritance tree. Lots of regression in these areas (missing info, wrong links, and so on). | Check the Properties, Functions, grouped properties, inheritance tree. Lots of regression in these areas (missing info, wrong links, and so on). | ||
Line 42: | Line 44: | ||
=== index.html (Qt 5 main page) === | === index.html (Qt 5 main page) === | ||
# check for the "Qt Creator" link (link) | |||
# check for the "Multimedia" link (qtdoc->qtmultimedia link) | |||
# check the list of overviews | |||
# check title and the navigation bar and build version | |||
=== "All Classes" - classes.html === | === "All Classes" - classes.html === | ||
# check for new classes such as: | |||
#* QGeoCoordinate (5.2) | |||
#* QSerialPort (5.1) | |||
# check for older or special classes: | |||
#* QString (sanity check) | |||
#* QQuickWindow (instantiated by a QML type) | |||
# check that A...Z list at the top is correct | |||
=== "All Modules" - qtmodules.html === | === "All Modules" - qtmodules.html === | ||
# check for special modules: | |||
#* ActiveQt (Windows-only but should be built) | |||
#* Qt WebKit (many previous build problems) | |||
#* Qt Bluetooth (new Add-On) | |||
# links to the modules should be active | |||
=== "All QML Types" - qmltypes.html === | === "All QML Types" - qmltypes.html === | ||
# check for new types such as: | |||
#* Position (5.2) | |||
#* JumpList (5.2) | |||
# check for older types such as: | |||
#* Item or Window | |||
#* Button | |||
# check that the A...Z list at the top is correct | |||
=== "All QML APIs by Module" - modules-qml.html === | === "All QML APIs by Module" - modules-qml.html === | ||
# check that the list is correct | |||
#* most modules should be there | |||
#* brief and annotated information | |||
#* title | |||
=== "All Classes by Module" - modules-cpp.html === | === "All Classes by Module" - modules-cpp.html === | ||
# check that the list is correct | |||
#* most modules should be there | |||
#* brief and annotated information | |||
#* title | |||
=== "Item" - qml-qtquick-item.html === | === "Item" - qml-qtquick-item.html === | ||
# HTML filename should be qml-<qmlmodule>-<type>.html | |||
# check required information: | |||
#* import statement (same as ) | |||
#* instantiates (QQuickItem) | |||
#* inherits: (QtObject) | |||
#* inherited-by: should be reasonably populated | |||
#* clicking on the inherited, instantiated, and other links should work | |||
# check Properties section | |||
#* "anchors" is a group and has the members in a sub-list | |||
#* clicking on a property works | |||
# check Methods section | |||
#* should look okay | |||
#* "Detailed Description" should look okay: | |||
#* snippets and images look okay | |||
#* "See also" is okay | |||
#* general markup is okay | |||
#* property and method signatures look okay | |||
#* readable and links to the basic type | |||
#* should follow writing guidelines (not necessary for regression testing) | |||
=== "Button"- qml-qtquick-controls-button.html === | |||
# HTML filename should be correct | |||
# check required information: | |||
#* (see "Item") | |||
#* clicking on inherited-by and inherits should go to the type | |||
# check the "List of All Members" page | |||
#* doesn't list private classes and private types | |||
=== "QSensor Class" - qsensor.html === | === "QSensor Class" - qsensor.html === | ||
# HTML filename should be correct <classname>.html | |||
# check required information: | |||
#* QObject link should work (qtsensors->qtcore link) | |||
#* links to the inherited-by should work (qtsensors->qtsensors link) | |||
#* the fields look okay | |||
# check Public Types, Properties, functions, and so on. | |||
#* links should go to the same page | |||
#* return types should be a working link | |||
# check the "List of All Members for QSensor" page | |||
#* should look okay | |||
=== "Qt Positioning QML Types" - qtpositioning-qmlmodule.html === | === "Qt Positioning QML Types" - qtpositioning-qmlmodule.html === | ||
# check that the module page lists the QML types | |||
#* title and HTML filename are okay | |||
#* it has QML basic types | |||
#* QML basic type documentation is broken at the moment | |||
=== "Qt Core C++ Classes" - qtcore-module.html === | === "Qt Core C++ Classes" - qtcore-module.html === | ||
# check that the module page | |||
#* lists the C++ classes and namespace | |||
#* title and HTML filename are correct | |||
=== "Bluetooth Tennis Example" - qtbluetooth-bttennis-example.html === | === "Bluetooth Tennis Example" - qtbluetooth-bttennis-example.html === | ||
# any other example page is okay too | |||
# check that the files are listed | |||
#* title and HTML filename are okay | |||
=== Miscellaneous Pages and Tests === | === Miscellaneous Pages and Tests === | ||
# check for basic style issues: | |||
#* footer and header(should be in every page) | |||
#* HTML title should be correct (QSensors Class | QtSensors 5.2 - Mozilla Firefox) | |||
# check "Synchronizing Threads" (threads-synchronizing.html) page for the "next" and "previous" links | |||
#* or check Qt Creator Manual |
Latest revision as of 16:10, 25 November 2016
En Ar Bg De El Es Fa Fi Fr Hi Hu It Ja Kn Ko Ms Nl Pl Pt Ru Sq Th Tr Uk Zh
This page outlines a list of pages and functionalities that must be tested for every commit to QDoc. Not all of the items in the list applies and it is up to the commit author and reviewer to decide which test is relevant.
Essential Testing Strategy
This is a list of tests. Testing these pages should be enough to cover most cases.
- Compile Code
- Look at index.html
- Look at the Modules page for links to all essentials and add-ons
- Look at All Classes
- Look at All QML Types
- Look at qtdoc->qtdoc links
- Look at qtbase->qtbase links
- Look at new module->new module links (qtsensors to qtsensors, for example)
- Look at the "5.2" navigation bar
- Look at Creator docs or another non-Qt 5 docs
- More pages which show obscure edge cases
QML Cases:
- Item (C++ page, QML type)
- Button (QML page, QML type)
- Audio, Sensor, Positioning, other QML types that is outside of qtdeclarative.
- also possible to test Charts, B2Qt, and Enterprise Controls
There is a separate C++ and QML parser, so these need special attention
C++ Cases:
- QObject (the inheritance)
- another class in qtbase (Qt SQL and Qt Network are stable and easy to check)
- qtdeclarative
- new module C++ classes
Check the Properties, Functions, grouped properties, inheritance tree. Lots of regression in these areas (missing info, wrong links, and so on).
These cover most of the cases. All do-able for within minutes of clicking around. Check for past regressions (though not all the time).
Specific pages:
index.html (Qt 5 main page)
- check for the "Qt Creator" link (link)
- check for the "Multimedia" link (qtdoc->qtmultimedia link)
- check the list of overviews
- check title and the navigation bar and build version
"All Classes" - classes.html
- check for new classes such as:
- QGeoCoordinate (5.2)
- QSerialPort (5.1)
- check for older or special classes:
- QString (sanity check)
- QQuickWindow (instantiated by a QML type)
- check that A...Z list at the top is correct
"All Modules" - qtmodules.html
- check for special modules:
- ActiveQt (Windows-only but should be built)
- Qt WebKit (many previous build problems)
- Qt Bluetooth (new Add-On)
- links to the modules should be active
"All QML Types" - qmltypes.html
- check for new types such as:
- Position (5.2)
- JumpList (5.2)
- check for older types such as:
- Item or Window
- Button
- check that the A...Z list at the top is correct
"All QML APIs by Module" - modules-qml.html
- check that the list is correct
- most modules should be there
- brief and annotated information
- title
"All Classes by Module" - modules-cpp.html
- check that the list is correct
- most modules should be there
- brief and annotated information
- title
"Item" - qml-qtquick-item.html
- HTML filename should be qml-<qmlmodule>-<type>.html
- check required information:
- import statement (same as )
- instantiates (QQuickItem)
- inherits: (QtObject)
- inherited-by: should be reasonably populated
- clicking on the inherited, instantiated, and other links should work
- check Properties section
- "anchors" is a group and has the members in a sub-list
- clicking on a property works
- check Methods section
- should look okay
- "Detailed Description" should look okay:
- snippets and images look okay
- "See also" is okay
- general markup is okay
- property and method signatures look okay
- readable and links to the basic type
- should follow writing guidelines (not necessary for regression testing)
"Button"- qml-qtquick-controls-button.html
- HTML filename should be correct
- check required information:
- (see "Item")
- clicking on inherited-by and inherits should go to the type
- check the "List of All Members" page
- doesn't list private classes and private types
"QSensor Class" - qsensor.html
- HTML filename should be correct <classname>.html
- check required information:
- QObject link should work (qtsensors->qtcore link)
- links to the inherited-by should work (qtsensors->qtsensors link)
- the fields look okay
- check Public Types, Properties, functions, and so on.
- links should go to the same page
- return types should be a working link
- check the "List of All Members for QSensor" page
- should look okay
"Qt Positioning QML Types" - qtpositioning-qmlmodule.html
- check that the module page lists the QML types
- title and HTML filename are okay
- it has QML basic types
- QML basic type documentation is broken at the moment
"Qt Core C++ Classes" - qtcore-module.html
- check that the module page
- lists the C++ classes and namespace
- title and HTML filename are correct
"Bluetooth Tennis Example" - qtbluetooth-bttennis-example.html
- any other example page is okay too
- check that the files are listed
- title and HTML filename are okay
Miscellaneous Pages and Tests
- check for basic style issues:
- footer and header(should be in every page)
- HTML title should be correct (QSensors Class | QtSensors 5.2 - Mozilla Firefox)
- check "Synchronizing Threads" (threads-synchronizing.html) page for the "next" and "previous" links
- or check Qt Creator Manual