Univention Bugzilla – Bug 45493
Support App specific Test scripts
Last modified: 2017-10-18 12:02:48 CEST
App Providers should be enabled to upload a .test file into their repository. A new command univention-app dev-test myapp should download and run it. The exit code of the script should be the exit code of the command. If addtional arguments are given to "univention-app dev-test", they should be passed to the test script.
Done in univention-appcenter 6.0.10-13A~4.2.0.201710061352 Provider Portal: TBD
(In reply to Dirk Wiesenthal from comment #1) > Provider Portal: TBD Done
(Currently, you need to use the cli tool univention-appcenter-control upload ... /path/to/test - file needs to end on "test")
-> univention-app dev-test owncloud Testing 4.1/owncloud=10.0.1-20170523 4.1/owncloud=10.0.1-20170523 is installed Downloading "https://appcenter.software-univention.de/univention-repository/4.1/maintained/component/owncloud_20170510145711/test"... No script downloaded. can we put/get the script from appcenter-test only, i dont want this on the official server
As discussed: univention-app dev-test myapp --appcenter-server=https://appcenter-test.software-univention.de univention-appcenter 6.0.10-14A~4.2.0.201710171330
univention-app dev-test --appcenter-server https://appcenter-test.software-univention.de owncloud --binddn uid=Administrator,cn=users,$(ucr get ldap/base) --bindpwd univention OK - YAML
<http://errata.software-univention.de/ucs/4.2/199.html>