From Fedora Project Wiki

Description

This test case verifies the functionality of the "dnf list" 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 list" and press Enter
  • 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 a list of all packages available in the default Fedora repositories, sorted alphabetically.
  • The output is readable and formatted correctly.

Optional

Optionally, perform exploratory testing by running the command with different options, such as "--installed" and "--available", to verify their functionality. Additionally, test the command with the "--verbose" option to verify that it provides additional information about the packages listed.