summaryrefslogtreecommitdiff
path: root/uitest/test_main.py
AgeCommit message (Collapse)AuthorFilesLines
2020-11-05Make order of UITest *.py test file processing deterministicStephan Bergmann1-1/+1
...hoping that this can prevent issues like the one seen with 1b0eb76eb1787d9d9fbd7a7a73ee8ae47b62dc33 "tdf#137617: sc: Add UItest" followed by d1232ee6b5e5cc3c811ef3ad72c83e9bd884bfe3 "uitest: reset formula syntax back to Calc A1" (i.e., where the first commit's Gerrit Jenkins build had apparently only succeeded because it happened to run the tests in one specific order, different from the order in which later, failing builds ran it) Change-Id: I4f1b5ada10d60e77b45a0edeb89069fe9376b63e Reviewed-on: https://gerrit.libreoffice.org/c/core/+/105325 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2020-10-27uitest: move all calc tests to sc/qa/uitestXisco Fauli1-1/+0
and remove a few duplicated ones Change-Id: I409ca78dcd7a67e993f6b3a1493ffa6fefd127b3 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/104864 Tested-by: Jenkins Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
2020-02-19uitest: make sure UITEST_TEST_NAME matches exactly one test functionMiklos Vajna1-1/+1
So that something like: make -sr UITest_cui_dialogs UITEST_TEST_NAME="chardlg.Test.testSvxCharEffectsPageWriterAutomatic" Only executes testSvxCharEffectsPageWriterAutomatic, not testSvxCharEffectsPageWriter and testSvxCharEffectsPage as well. Change-Id: I0ed334259634e3b9b0db45d9f8462eb4accc689e Reviewed-on: https://gerrit.libreoffice.org/c/core/+/88987 Tested-by: Jenkins Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
2019-11-18Fix 'is' operator for comparisonJens Carl1-1/+1
The 'is' operator should not be used for comparison on some types of literals. In CPython this works by accident and CPython 3.8 introduced a SyntaxWarning (see https://bugs.python.org/issue34850). Change-Id: Ic4ba481579d13fd1496431ded59dd626a05fc0c6 Reviewed-on: https://gerrit.libreoffice.org/83033 Tested-by: Jenkins Reviewed-by: Muhammet Kara <muhammet.kara@collabora.com>
2019-07-15uitest: don't complain about the silly VIM swap filesMichael Stahl1-0/+3
Very annoying to have the test not run if you look at its code. Change-Id: Ied63432e0a0460ed66bad4cc53f4769810f058e8 Reviewed-on: https://gerrit.libreoffice.org/75515 Tested-by: Jenkins Reviewed-by: Michael Stahl <Michael.Stahl@cib.de>
2019-01-14uitest: fail early in case a test file would be ignoredMiklos Vajna1-2/+2
So the mistake I did in commit 457acbfa304ac8bda0755c9ca8f1e1e22e490ac8 (UITest_writer_tests: split this into 4 parts, 2018-07-03) does not happen again. Change-Id: Ia28ed1fe9909d9c46ebe95d3a1926b0dced46140 Reviewed-on: https://gerrit.libreoffice.org/66180 Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com> Tested-by: Jenkins Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
2018-07-10uitests - error if UITEST_TEST_NAME not set to anything usefulNoel Grandin1-2/+12
so the next poor sod who doesn't understand the instructions doesn't waste time with the wrong way of specifying the tests Change-Id: I9759c7f792ec80d660f70f79dc6e2589d44e360f Reviewed-on: https://gerrit.libreoffice.org/57177 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2018-02-06uitest: improve conditional test suppression to limit by class and by functionMiklos Vajna1-2/+4
Example: make UITest_writerperfect_epubexport UITEST_TEST_NAME="epubexport.EPUBExportTest.testUIComponent" Change-Id: I7960a71574d8d3d9cb06399813c7370700579c3d Reviewed-on: https://gerrit.libreoffice.org/49246 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
2016-12-02provide a way to limit the UI tests through envMarkus Mohrhard1-0/+4
Change-Id: If0af462f20f3541a183e00732944b0650d94639d Reviewed-on: https://gerrit.libreoffice.org/31512 Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com> Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2016-10-26normalize existing emacs/vim mode-lines in python filesMichael Stahl1-2/+2
Bunch of these were setting C++ or Make modes and icky tabs... Also, reportedly Emacs can figure out to enable python-mode automatically. Change-Id: I50072488fb92cb4d27aa3f74f717a28ae3967543
2016-10-11make it easier to read the logsMarkus Mohrhard1-1/+1
Not yet perfect but already better. Change-Id: I5309947333aa2cce6526335b603ef316226e490c
2016-07-10uitest: support the gdb param also in the uitest runnerMarkus Mohrhard1-1/+1
Change-Id: I86833d9fdf42199480f1d448c56e63ff22d4923e
2016-06-26uitest: add a way to have sleeps in some test runsMarkus Mohrhard1-2/+7
Now adding a -d or --debug to the command line options will enable the sleeps in the uitest.debug part. This makes it much easier to debug a test in the visual mode. Only remaining part is now to add a test runner into the build system that makes use of that mode. Change-Id: I03d55b10f06dd12a63a8d87c135967901bef0fba
2016-06-26uitest: bring some order into the file messMarkus Mohrhard1-2/+2
The uitest/uitest directory will be used for the actual uitest framework. The libreoffice directory should contain any common LibreOffice related code. Change-Id: I3f6394ff4be83b89a8764eab10a154e755237d35
2016-06-25uitest: add a mode to just run one fileMarkus Mohrhard1-14/+20
Change-Id: I99906dfc34ebcb7ab0ce76ca446435ae0902443f
2016-06-24uitest: also print number of skipped testsMarkus Mohrhard1-0/+1
Change-Id: I7fbc6513358be252b091154b5ed44d10c8f51c4f
2016-06-23uitest: improve the message of the ui test runnerMarkus Mohrhard1-1/+7
Change-Id: I5026590506b4ddf3db95fb14fe6b0890255a5a25
2016-06-22uitest: remove debug print statementsMarkus Mohrhard1-1/+0
Change-Id: I7dc68ef48a69f4878a20e6cb1dd3203dfc3097fd
2016-06-22uitest: start the switch to python's unittestMarkus Mohrhard1-0/+101
Change-Id: Ic6e0d99a567b7080928accb61ed036b1c25ec7ff