Andreas Fischer
636d0635db
Combine autotest-hhvm.sh with autotest.sh
il y a 9 ans
Thomas Müller
7181840665
Use occ to install ownCloud in autotest.sh
il y a 9 ans
Robin McCorkell
5acbeb9666
Better cleanup in autotest.sh
Configs correctly cleaned, even if phpunit fails or autotest interrupted
il y a 9 ans
Thomas Müller
92b825c71b
Adding autotest-hhvm.sh
il y a 9 ans
Joas Schilling
0242c5c2d1
Correctly run all tests again when no file is specified
il y a 9 ans
Joas Schilling
532bcf40b3
Allow autocomplete for test file in autotest.sh
il y a 9 ans
Morris Jobke
19346f4a27
this allows a non-existant config/config.php for starting the autotest.sh
il y a 9 ans
Lukas Reschke
05ac044e28
Drop only if exists
il y a 9 ans
Thomas Müller
75b8488ab9
autotest.sh shall not terminate if mysql db could not be dropped
il y a 9 ans
Robin McCorkell
f757611687
Fix autotest.sh for whitespace in paths
il y a 9 ans
Thomas Müller
6dfd1733bb
Don't terminate the script if the pgsql database could not be deleted
il y a 9 ans
Thomas Müller
8196536309
terminate script execution in case of failure
il y a 10 ans
Vincent Petry
6ed174d0e4
Restore autotest config on SIGINT or SIGTERM
When hitting Ctrl+C to interrupt unit test running, the old
configuration was not restored properly.
This fix traps the signal to properly restore the configuration after an
interruption.
il y a 10 ans
Andreas Fischer
de07f25bc2
Use git checkout on directory as some files may not be in git resulting in, e.g.:
error: pathspec 'tests/data/lorem-copy.txt' did not match any file(s) known to git.
error: pathspec 'tests/data/testimage-copy.png' did not match any file(s) known to git.
il y a 10 ans
Vincent Petry
20935f4e24
Catch setup errors during autotest
il y a 10 ans
Vincent Petry
51e1bd5d04
Enforce required phpunit version
This will prevent frustration and confusion when unit tests fail because
the wrong phpunit version was used
il y a 10 ans
Thomas Müller
4025f39324
keep junit xml reports
il y a 10 ans
Thomas Müller
99933b2ca3
adding environment variable to control coverage reporting
il y a 10 ans
Vincent Petry
7de1b3f28e
Added syntax help for autotest.sh
autotest.sh now checks for the validity of the db config name argument.
If the db config name is not known, it show syntax info.
This should save some time to people to understand how to use this
script. Before this fix, an invalid argument would return a big HTML
page in the output.
il y a 10 ans
Vincent Petry
9cf25c8048
Added backup for config.php in autotest.sh script
The script now checks for config.php existance and backs it up before
running the test, then restores it back at the end. This avoids the
situation where devs lose their manually edited config if they forgot to
back it up before running the unit tests.
The script now also checks for config.php permissions beforehand to
avoid displaying an annoying HTML page output in the console with an
error message.
il y a 10 ans
Thomas Müller
0486dc24ad
collect coverage for all databases again - ci.owncloud.org has more RAM available
il y a 10 ans
Thomas Müller
01165fbd22
use tmpfs at /dev/shm to speedup unit test execution
il y a 11 ans
Thomas Müller
7fac7fef03
pgsql support added
il y a 11 ans
Thomas Müller
1257a3c948
parallel execution support for mysql added
il y a 11 ans
Thomas Müller
4e625202d1
Use EXECUTOR_NUMBER in database name and user name.
il y a 11 ans
Jörn Friedrich Dreyer
ccce93755f
enable oracle testing by default
il y a 11 ans
Jörn Friedrich Dreyer
74016666c1
enable oracle testing
enabling, because the test shows a green ball: https://ci.tmit.eu/job/ownCloud-Server(doctrine)-oci/33/console
il y a 11 ans
Jörn Friedrich Dreyer
bc61a9c097
enable testing individual tests
il y a 11 ans
Thomas Mueller
1f9ac7850d
meanwhile phpunit is seq faulting with mysql as well
il y a 11 ans
Thomas Mueller
26c91bfbc2
adding Oracle support to autotest.sh
il y a 11 ans
Thomas Mueller
a753d14de9
adding Oracle support to autotest.sh
il y a 11 ans
Thomas Mueller
990980392c
No unit test coverage reports for pgsql - this causes issues on Jenkins.
il y a 11 ans
Thomas Mueller
c0263173d2
add phpunit configuration for autotest withou the json listener because this pollutes the console
il y a 11 ans
Thomas Müller
74665faec5
exeuting tests now on apps as well - the apps repo shall be cloned into the sub folder apps2
il y a 11 ans
Thomas Mueller
c8d436c43d
cleanup report folder
il y a 11 ans
Thomas Mueller
7be661872f
adding coverage html
il y a 11 ans
Sam Tuke
8b01286a5d
Merged branch 'master'
il y a 11 ans
Thomas Mueller
39e1c22e0a
move autotest to phpunit
il y a 11 ans
Thomas Mueller
b30da61d59
postgres added to autotest mechanism
il y a 12 ans
Thomas Mueller
3ffc96c3e9
add database type to xml report
il y a 12 ans
Thomas Mueller
6bb3a281b1
some more structure added
il y a 12 ans
Thomas Mueller
a1b9b4b43e
fixing reset on autotest
il y a 12 ans
Thomas Mueller
ce40576881
MySql testing added
il y a 12 ans
Thomas Mueller
6ee228cac7
rediect test results to autotest-results-sqlite.xml
il y a 12 ans
Thomas Mueller
fd0c6da410
autotest.sh added: create an fresh environment using sqlite (mysql anf pg will follow) and executes the test suite
il y a 12 ans