From Fedora Project Wiki

(Created page with "{{QA/Test_Case |description=This test case ensures that the fedora-appstream-metadata package provides correct and valid metadata for the software applications available in Fedora. The metadata is essential for app centers like GNOME Software to show accurate and comprehensive information about available software to the users. |setup= # Ensure `fedora-appstream-metadata` and `appstream-util` packages are installed. If not, install them with the command: ``sudo dnf instal...")
 
No edit summary
Line 4: Line 4:
# Ensure `fedora-appstream-metadata` and `appstream-util` packages are installed. If not, install them with the command: ``sudo dnf install fedora-appstream-metadata libappstream-glib``
# Ensure `fedora-appstream-metadata` and `appstream-util` packages are installed. If not, install them with the command: ``sudo dnf install fedora-appstream-metadata libappstream-glib``
|actions=
|actions=
# Validate the appstream metadata by running: ``appstream-util validate /usr/share/app-info/xmls/fedora.xml.gz``
# Validate the appstream metadata by running: `appstream-util validate /usr/share/app-info/xmls/fedora.xml.gz`
# Open an application center (like GNOME Software) and browse through a few applications to see if the metadata (like application description, screenshots, etc.) appear correctly.
# Open an application center (like GNOME Software) and browse through a few applications to see if the metadata (like application description, screenshots, etc.) appear correctly.
|results=
|results=

Revision as of 13:22, 20 September 2023

Description

This test case ensures that the fedora-appstream-metadata package provides correct and valid metadata for the software applications available in Fedora. The metadata is essential for app centers like GNOME Software to show accurate and comprehensive information about available software to the users.

Setup

  1. Ensure fedora-appstream-metadata and appstream-util packages are installed. If not, install them with the command: sudo dnf install fedora-appstream-metadata libappstream-glib

How to test

  1. Validate the appstream metadata by running: appstream-util validate /usr/share/app-info/xmls/fedora.xml.gz
  2. Open an application center (like GNOME Software) and browse through a few applications to see if the metadata (like application description, screenshots, etc.) appear correctly.

Expected Results

  1. The appstream metadata validation should show no errors.
  2. In the application center, the metadata for applications should appear correctly without any missing information or graphics.

Optional

Optionally, compare the metadata for a few popular applications with their official website or repository information to ensure accuracy.