From Fedora Project Wiki

Description

This test case verifies the functionality of the "dnf check-update" 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 check-update" 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 available package updates, if any, sorted by package name.
  • Each package listed should include the package name, the current version, the available version, the repository from which it is available, and a brief description of the update.
  • If there are no available package updates, the output should indicate that no updates are available.
  • The output is readable and formatted correctly.

Optional

Optionally, perform exploratory testing by running the command with different options, such as "--security" and "--bugfix", to verify their functionality. Additionally, test the command with different scenarios, such as when the system is fully up to date or when there are only a few updates available, to verify that the results are accurate.