Bug 40855

Summary: Add unit tests for the App class
Product: UCS Test Reporter: Dirk Wiesenthal <wiesenthal>
Component: App CenterAssignee: App Center maintainers <appcenter-maintainers>
Status: NEW --- QA Contact:
Severity: enhancement    
Priority: P5    
Version: unspecified   
Target Milestone: ---   
Hardware: Other   
OS: Linux   
What kind of report is it?: Development Internal What type of bug is this?: ---
Who will be affected by this bug?: --- How will those affected feel about the bug?: ---
User Pain: Enterprise Customer affected?:
School Customer affected?: ISV affected?:
Waiting Support: Flags outvoted (downgraded) after PO Review:
Ticket number: Bug group (optional):
Max CVSS v3 score:

Description Dirk Wiesenthal univentionstaff 2016-03-08 12:46:16 CET
We need tests for the App class:

 * Parsing of ini file, at least one check for each AppAttribute class
 * Are READMEs found
 * Checking ratings
 * Checking License categories
 * Maybe the caching mechanism

This is more a collection of unit tests.

+++ This bug was initially created as a clone of Bug #40428 +++

Except in 1-2 cases, the apps in the App Center do not provide information about the licensing and commercial use model. The users can install the apps very easily, but they are confused and don't know the conditions for the usage of the app. In an increasing number of cases, the users contact Univention and ask.

Users currently have to visit the app provider's website to answer this question. Even worse are missing information about the evaluation restrictions like free trial for 30 days or free trial for 5 users. This information cannot be found in the app description or even on the app provider's website.

A research over all apps in the App Center showed that not all app providers publish the information. Furthermore, this information is not asked from the app provider and explicitly displayed on the App detail page.


A new attribute should be added to the App Center meta data the provides a combined information about the evaluation restrictions and the commercial use. It should be shown in the App Center and the App Catalog. The attribute should consist of the following options:
1. Free commercial use
2. Free commercial use and some functions are subject to costs
3. Liable to Costs with free trial
4. Liable to Costs without Free Trial

A more detailed proposal can be found here: https://metod.knut.univention.de/owncloud/index.php/s/tDLRGgTwrVPnOQt

See also the discussion in the forum: http://forum.univention.de/viewtopic.php?f=67&t=4678&p=18109