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...")
 
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{QA/Test_Case
{{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.
|description=This test case ensures that the appstream-data 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=
|setup=
# 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 `appstream-data` and `appstream-util` packages are installed. If not, install them with the command: `sudo dnf install appstream-data 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/swcatalog/xml/fedora.xml.gz` (this step will take a long time with no obvious feedback, please be patient)
# 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=
Line 11: Line 11:
|optional=Optionally, compare the metadata for a few popular applications with their official website or repository information to ensure accuracy.
|optional=Optionally, compare the metadata for a few popular applications with their official website or repository information to ensure accuracy.
}}
}}
[[Category:Package_fedora-appstream-metadata_test_cases]]
[[Category:Package_appstream-data_test_cases]]
[[Category:Critical_path_test_cases]]
[[Category:Critical_path_test_cases]]

Latest revision as of 01:58, 22 February 2024

Description

This test case ensures that the appstream-data 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 appstream-data and appstream-util packages are installed. If not, install them with the command: sudo dnf install appstream-data libappstream-glib

How to test

  1. Validate the appstream metadata by running: appstream-util validate /usr/share/swcatalog/xml/fedora.xml.gz (this step will take a long time with no obvious feedback, please be patient)
  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.