Difference between revisions of "Testing"
From Univention Wiki
Wiesenthal (talk | contribs) |
Wiesenthal (talk | contribs) |
||
Line 13: | Line 13: | ||
= The Test App Center = | = The Test App Center = | ||
− | Before Apps are published in the App Center for every UCS user to see, they | + | Before Apps are published in the App Center for every UCS user to see, they are uploaded into the Test App Center. Here the App Provider can test the functionality of the App itself and Univention can run tests to ensure the integrity of UCS and its core services (LDAP, Samba, etc.). |
== Using the Test App Center == | == Using the Test App Center == |
Revision as of 19:23, 11 October 2016
Before you can start with the creation of an App for Univention App Center, you'll need to prepare your UCS environment. This section guides you through the necessary steps.
Contents
Download
First of all, get yourself a copy of UCS free of charge at the Univention Website. You can choose between an ISO image or a pre-installed virtual machine.
Initial setup
Please refer to the UCS Quickstart Guide for the steps about installation and initial setup.
The Test App Center
Before Apps are published in the App Center for every UCS user to see, they are uploaded into the Test App Center. Here the App Provider can test the functionality of the App itself and Univention can run tests to ensure the integrity of UCS and its core services (LDAP, Samba, etc.).
Using the Test App Center
You can now use the Test App Center:
univention-install univention-appcenter-dev univention-app dev-use-test-appcenter
Now you have access to the Test App Center. See Self Service how to get your App into the Test App Center.
Automatic testing for App Providers
Regardless of the type of App provided, the test suite run by Univention may be extended. If you provide ucs-test-$appid, this package will be installed and run. Please refer to ucs-test to see how to build a test case with the UCS Test framework. See Self Service how to provide a package. For Docker Apps/Image Based this might be the only package, for other Apps, the test package is just one among others.