Commit Graph

48 Commits

Author SHA1 Message Date
Michal Čihař
0b0e99cc02 Remove no longer needed exclude
Signed-off-by: Michal Čihař <michal@cihar.com>
2017-03-01 16:50:08 +01:00
Deven Bansod
a8018c2fa1 Merge branch 'QA_4_6' 2016-12-19 13:46:59 +05:30
Deven Bansod
33af5ac3d6 Uncomment mistakenly commented Selenium testing setting
Signed-off-by: Deven Bansod <devenbansod.bits@gmail.com>
2016-12-19 13:45:00 +05:30
Michal Čihař
dad93483c1 Merge branch 'QA_4_6' 2016-11-10 11:08:36 +01:00
Deven Bansod
8b6e102cf7 Fixed small error in XML test
Signed-off-by: Deven Bansod <devenbansod.bits@gmail.com>
2016-11-04 20:54:23 +05:30
Deven Bansod
00bfc9d45d Fixed regressive change in phpunit config file
Signed-off-by: Deven Bansod <devenbansod.bits@gmail.com>
2016-11-04 11:56:40 +05:30
Deven Bansod
956f3179cb Fix Navigation tests and Export tests
Signed-off-by: Deven Bansod <devenbansod.bits@gmail.com>
2016-11-04 11:55:46 +05:30
Deven Bansod
d5c9a193f4 Fix tests for Table, ThemeManager, Tracker classes
Signed-off-by: Deven Bansod <devenbansod.bits@gmail.com>
2016-10-29 11:00:52 +05:30
Michal Čihař
fc6ef261eb Remove Swekey support
It is buggy and their servers are no longer working.

Signed-off-by: Michal Čihař <michal@cihar.com>
2016-07-11 09:02:58 +02:00
Michal Čihař
7d650bd548 Use phpmyadmin/shapefile instead of embedded bfShapeFile
Signed-off-by: Michal Čihař <michal@cihar.com>
2016-06-24 15:52:40 +02:00
Michal Čihař
c2419ee951 Merge branch 'QA_4_6' 2016-04-19 16:25:15 +02:00
Michal Čihař
8b29917eca Use coding standard from phpmyadmin/coding-standard
It is way cleaner to have the coding standard separte and use it when
checking.

Signed-off-by: Michal Čihař <michal@cihar.com>
2016-04-19 16:22:55 +02:00
Michal Čihař
f2e034451a Remove exclusion of php-gettext from test
Signed-off-by: Michal Čihař <michal@cihar.com>
2016-02-24 14:44:17 +01:00
Michal Čihař
4103e0c6ae Do not generate coverage for tests
It is broken due to way how phpunit works - it doesn't count as covered
data providers.

Signed-off-by: Michal Čihař <michal@cihar.com>
2016-02-24 14:42:26 +01:00
Michal Čihař
6a46ea5684 Include tests in test coverage
It helps to identify not executed test files.

Signed-off-by: Michal Čihař <michal@cihar.com>
2016-02-22 11:41:56 +01:00
Michal Čihař
974b9fe82c Do not generate coverage for composer packages
Signed-off-by: Michal Čihař <michal@cihar.com>
2016-02-22 08:05:49 +01:00
Michal Čihař
315e7d3982 Remove no longer needed excludes from build configuration
Signed-off-by: Michal Čihař <michal@cihar.com>
2016-02-22 08:04:15 +01:00
chintan zaveri
2b74163914 Removal of Swekey
Signed-off-by: Chintan Zaveri <zaveri_chintan@rediff.com>

master rebased

Signed-off-by: Chintan Zaveri <zaveri_chintan@rediff.com>
2016-02-20 21:41:07 +05:30
Michal Čihař
aac4e31eee Fix test discovery for class tests
Signed-off-by: Michal Čihař <michal@cihar.com>
2015-12-01 14:19:59 +01:00
Dan Ungureanu
e724dbb691 The test folder was included in coverage.
Signed-off-by: Dan Ungureanu <udan1107@gmail.com>
2015-07-23 03:23:55 +03:00
Dan Ungureanu
ecc60f3664 Fixed failing tests. Also, removed deprecated PHPUnit configuration that might cause issues with XDebug.
Fixed a bug where the query delimiter would not be added.
Updated sql-parser to udan11/sql-parser@7c925b6.

Signed-off-by: Dan Ungureanu <udan1107@gmail.com>
2015-07-10 23:18:18 +03:00
Dan Ungureanu
8c62557b2e Added sql-parser to PHPUnit's exclude filter for code coverage.
Signed-off-by: Dan Ungureanu <udan1107@gmail.com>
2015-07-10 23:18:13 +03:00
Michal Čihař
ba2b31c581 Do not build HTML coverage logs, we do not use them at all
Signed-off-by: Michal Čihař <michal@cihar.com>
2014-06-24 11:53:00 +02:00
Michal Čihař
a731ce017c Convert remaining Selenium tests to new model
I expect many of them to be broken, but let's fix that later.

Signed-off-by: Michal Čihař <michal@cihar.com>
2014-02-17 20:28:56 +01:00
Michal Čihař
5f4988567e Move selenium configuration to test/bootstrap-dist.php
This way it can be overridden from environment.

Signed-off-by: Michal Čihař <michal@cihar.com>
2014-02-17 11:58:44 +01:00
ayushchd
926eaa13aa Selenium 2 doesn't work with *firefox 2013-08-30 00:28:28 +05:30
Michal Čihař
e43b8e43e4 Sync selenium settings 2013-08-26 08:50:05 +02:00
ayushchd
b1d4dd188f Browser name change for Selenium2 compatibility 2013-08-22 23:43:56 +05:30
Michal Čihař
9138eef26a Increase timeout for small tests as it goes over limit quite often 2013-08-21 12:00:31 +02:00
Madhura Jayaratne
f61da12ae3 These constants serve the same purpose 2013-08-21 12:26:17 +05:30
ayushchd
b74c585fdb Add myqsl username and password config 2013-08-15 17:24:52 +05:30
ayushchd
05f4347613 Remove swekey from code coverage 2013-07-19 14:13:26 +05:45
Michal Čihař
fad06584f5 Enable backupGlobals directive in phpunit 2013-06-11 14:31:38 +02:00
Michal Čihař
bda40357ed Exclude phpseclib from coverage reports 2013-05-31 10:11:52 +02:00
Michal Čihař
9c5c9ecc49 Ignore some more thing from coverage reports
- coding style rules
- user examples
- admin scripts
2013-04-15 10:56:54 +02:00
Dieter Adriaenssens
43cce027a9 only generate code coverage for php files 2013-04-12 15:51:57 +02:00
Dieter Adriaenssens
104c99a7c9 include all files in code coverage, also the not tested ones 2013-04-10 17:26:02 +02:00
Filippo Tessarotto
802b88ea4c Colorify PHPUnit 2012-11-12 14:52:44 +01:00
Michal Čihař
d5912ff6df Ignore gettexts .inc file as well 2012-09-18 10:27:47 +02:00
Michal Čihař
7b4b6ba4be Ignore external libraries from coverage reports 2012-09-18 09:41:35 +02:00
Yasitha Pandithawatta
64c8310611 Create engines test suit and fixed failing test cases 2012-08-14 21:33:20 +05:30
Michal Čihař
602ae33f61 Default to default MySQL setup (no password for root) 2012-04-27 10:43:23 +02:00
Yasitha Pandithawatta
a924773fce Patch #3504536 Fixed the PMA selenium test cases (Login) 2012-03-21 11:25:45 -04:00
Rouslan Placella
8489f415c9 Added unit tests for Routines, Triggers and Events 2011-07-22 11:54:03 +01:00
Zarubin Stas
2ca6e70154 Small fixes. New tests for Config.class.php and Theme.class.php, 2011-07-18 09:34:04 +03:00
Zarubin Stas
b309cf3e98 Small changes in Selenium tests configuration 2011-07-14 07:45:20 +03:00
Zarubin Stas
09660a6624 PHPUnit database configuration and Environment test 2011-07-11 03:25:17 +03:00
Zarubin Stas
f7d7102d2f - Unit Test grouped by library directory
- Added configuration file phpunit.xml.dist and bootstraper-dist.php
 - Ignoring phpunit.xml, bootstraper.php and build/
2011-06-29 20:06:27 +03:00