From Fedora Project Wiki

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.