You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently files_external tests are not run on Drone with the exception of the SMB suite and maybe another one.
We should run the tests there to make sure we can catch errors especially during library updates.
For example, when upgrading phpseclib we need to make sure that the SFTP suite still works. (@phil-davis remembers)
Here is a PR that attempts to enable Webdav with OC and lists the failures: #30733
and there is another section for externalTypes of samba and windows.
In theory there [might|should] be a way to setup a full "federated webDAV ownCloud server" and have it connected as the "backend storage" for the whole front-end ownCloud-under-test, and let the unit tests run with the storage backend like that.
I need to research if that is even a possible way to setup a pair of ownCloud servers.
Note to self: see .drone.starwebdavService()sambaService()sftpService() for the storage backends that are already defined.
and there is another section for externalTypes of samba and windows.
In theory there [might|should] be a way to setup a full "federated webDAV ownCloud server" and have it connected as the "backend storage" for the whole front-end ownCloud-under-test, and let the unit tests run with the storage backend like that.
I need to research if that is even a possible way to setup a pair of ownCloud servers.
Note to self: see .drone.starwebdavService()sambaService() sftpService()` for the storage backends that are already defined.
@phil-davis That's interesting, you can ping me while moving on with this, I've only worked with acceptance tests, but I also want to see phpunit tests :)
Activity
phil-davis commentedon Dec 16, 2019
Added this to the current sprint so we review it and finish whatever is possible here.
kiranparajuli589 commentedon Feb 20, 2020
@phil-davis is something yet to be done here??
phil-davis commentedon Feb 20, 2020
yes, this was actually about running phpunit tests.
core
.drone.starhas this in thephpunitsection:and there is another section for
externalTypesofsambaandwindows.In theory there [might|should] be a way to setup a full "federated webDAV ownCloud server" and have it connected as the "backend storage" for the whole front-end ownCloud-under-test, and let the unit tests run with the storage backend like that.
I need to research if that is even a possible way to setup a pair of ownCloud servers.
Note to self: see
.drone.starwebdavService()sambaService()sftpService()for the storage backends that are already defined.kiranparajuli589 commentedon Feb 27, 2020
@phil-davis That's interesting, you can ping me while moving on with this, I've only worked with
acceptance tests, but I also want to seephpunit tests:)