Difference between revisions of "Testing"

From Univention Wiki

Jump to: navigation, search
Line 1: Line 1:
 
[[Category:App Center Developer Guide]]
 
[[Category:App Center Developer Guide]]
  
Before you can start with the creation of an App for Univention App Center, you'll need to prepare your UCS
+
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.
environment. This section guides you through the necessary steps.
 
  
 
= Download =
 
= Download =
Line 16: Line 15:
 
Before Apps are published in the App Center for every UCS user to see, they get 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.).
 
Before Apps are published in the App Center for every UCS user to see, they get 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.).
  
= Automatic testing for App Providers =
+
== Using the Test App Center ==
  
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.
+
You can now use the Test App Center:
 +
<pre>
 +
univention-install univention-appcenter-dev
 +
univention-app dev-use-test-appcenter
 +
</pre>
 +
 
 +
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.

Revision as of 19:20, 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.

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 get 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.

Personal tools