Roeland Jago Douma
2c8cd69b6f
Do not cover composer folders for code coverage
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
5 years ago
Roeland Jago Douma
9e76577ead
Add tests
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
6 years ago
Lukas Reschke
691646bdae
Add tests for OAuth2 app
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
7 years ago
Roeland Jago Douma
aee2d6318f
Fix tests
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
7 years ago
Roeland Jago Douma
6a40dce138
Initial commit of the bruteforcesettings app
This adds the bruteforce settings app that allows to configure (for now)
subnets that are to be ignored when doing brute force analysis. This can
for example be the LAN since we trust people from there.
* Add app
* Add php tests
* Add js tests
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
7 years ago
Thomas Müller
5bfce597a9
[CI] Can we get some faster phpunit execution? (#27113)
* Don't backup globals and static attributes
* Unset global variable to remove impact on followup tests
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
7 years ago
Thomas Müller
0c637c8d73
[9.2] Add missing unit tests (#25936)
* Adjust unit test execution after folder rename
* Adjust login controller tests to match current behavior
* Fix broken unit tests
7 years ago
Roeland Jago Douma
408c562427
Exclude tests and composer dir from coverage
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
7 years ago
Lukas Reschke
166a7667d3
Use proper casing
7 years ago
Thomas Müller
4b376305e9
Fix coverage reporting
8 years ago
Roeland Jago Douma
2f6ffdbce5
Added tests for used parts
8 years ago
Lukas Reschke
76878e9943
Add endpoint with list of OCS providers
This adds a OCS provider list at `ocs-provider/` to enable a somewhat autodiscovery of services.
In the moment it is not possible for applications to add own entries and it is basically hard-coded in the controller. I'm aware that this is not an optimal solution and I'm happy for any pragmatic input that won't pollute our public API too much. (and is not a big super hack, this is already hacky enough ;-))
That said, I'd consider it as a first step also feasible to go with this somewhat hard-coded list and see if this gets adopted...
9 years ago
Vincent Petry
ac98480028
Fix phpunit xml
Rename/remove obsolete paths
9 years ago
Tom Needham
dc85c20b18
Add provisioning_api app
enable unit tests for provisioning api
fix admin docu key
9 years ago
Morris Jobke
e014a18b4a
drop files_external tests from autotest - they will be executed with autotest-external.sh which is coming
9 years ago
Joas Schilling
b842059285
Remove testcleanuplistener.php
9 years ago
Lukas Reschke
1b50d4f7ce
Warn for password reset when files_encryption is enabled
This patch wil warn the user of the consequences when resetting the password and requires checking a checkbox (as we had in the past) to reset a password.
Furthermore I updated the code to use our new classes and added some unit tests for it :dancers:
Fixes https://github.com/owncloud/core/issues/11438
9 years ago
Lukas Reschke
13b1b45ee4
Refactor MailSettings controller
- Do not store the password (fixes https://github.com/owncloud/core/issues/11385 )
- Refactor to AppFramework
- Add unit tests
Conflicts:
settings/admin/controller.php
9 years ago
Thomas Müller
fc697c7298
adding StartSessionListener which initializes the session before each test case execution
10 years ago
Vincent Petry
1c340444a4
Added test cleanup listener to detect untidy tests
After each test suite, detects whether there are stray datafiles, hooks
or proxies, then show a warning and clear them.
10 years ago
Andreas Fischer
763afa5064
Add verbose to autotest phpunit, so we see skipped and incomplete tests.
11 years ago
Thomas Müller
22d419b74f
No coverage for tests
11 years ago
Thomas Müller
9d576de0bd
No coverage for settings/l10n
11 years ago
Thomas Müller
08f81f3f92
No coverage for lib/l10n and core/l10n
11 years ago
Jörn Friedrich Dreyer
a2d3c030fb
every test now has 15min to execute
we don't want to check performance just yet. we just want to make jenkins end more reliably.
11 years ago
Jörn Friedrich Dreyer
48b5e3d498
allow autotest to run 10x times longer
11 years ago
Jörn Friedrich Dreyer
73fb722a9e
add timeouts 3/30/90 to phpunit tests
11 years ago
Thomas Mueller
db1ca90319
exclude 3rdparty folder within files_external and files_encryption from code coverage
11 years ago
Thomas Mueller
d921004a6e
ignore l10n folder within remaining apps
11 years ago
Thomas Müller
df5f02bed0
Exclude apps/files/l10n from coverage reports
11 years ago
Thomas Mueller
17d83cc17f
Fixing code coverage analysis
11 years ago
Thomas Mueller
c0263173d2
add phpunit configuration for autotest withou the json listener because this pollutes the console
11 years ago
Michael Gapczynski
bc8957a195
Add listener for VisualPHPUnit
11 years ago
Thomas Müller
8a03abec0d
Filter added to get all files into coderage report
11 years ago
Sam Tuke
8b01286a5d
Merged branch 'master'
11 years ago
Robin Appelman
07eb1c159d
load test cases from enabled apps
11 years ago
Robin Appelman
22f8f50e05
initual phpunit support
11 years ago