From Fedora Project Wiki

(Created page with "{{QA/Test_Case |description=This test case verifies the functionality of the "dnf info" command. |setup=Install the latest version of Fedora on a bare metal system using the default Anaconda settings except to reclaim all disk space in the process. |actions= *Open a terminal window * Type "dnf info <package-name>" and press Enter, where <package-name> is the name of a package available in the default Fedora repositories. * Observe the output |results= The following must...")
 
No edit summary
 
Line 4: Line 4:
|actions=
|actions=
*Open a terminal window
*Open a terminal window
* Type "dnf info <package-name>" and press Enter, where <package-name> is the name of a package available in the default Fedora repositories.
* Type `dnf info <package-name>` and press Enter, where <package-name> is the name of a package available in the default Fedora repositories.
* Observe the output
* Observe the output


Line 13: Line 13:
* The output is readable and formatted correctly.
* The output is readable and formatted correctly.


|optional=Optionally, perform exploratory testing by running the command with different package names and observing the output. Additionally, test the command with different options, such as "--installed" and "--available", to verify their functionality.
|optional=Optionally, perform exploratory testing by running the command with different package names and observing the output. Additionally, test the command with different options, such as `--installed` and `--available`, to verify their functionality.
}}
}}

Latest revision as of 11:50, 14 March 2023

Description

This test case verifies the functionality of the "dnf info" command.

Setup

Install the latest version of Fedora on a bare metal system using the default Anaconda settings except to reclaim all disk space in the process.

How to test

  • Open a terminal window
  • Type dnf info <package-name> and press Enter, where <package-name> is the name of a package available in the default Fedora repositories.
  • Observe the output

Expected Results

The following must be true to consider this a successful test run:

  • The command executes without error
  • The output includes the package name, version, description, dependencies, and other relevant information about the specified package.
  • The output is readable and formatted correctly.

Optional

Optionally, perform exploratory testing by running the command with different package names and observing the output. Additionally, test the command with different options, such as --installed and --available, to verify their functionality.