From Fedora Project Wiki

Revision as of 16:16, 13 March 2023 by Sumantrom (talk | contribs) (Created page with "{{QA/Test_Case |description=This test case verifies the functionality of the "dnf history" 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. Install some packages and remove some packages from the system. |actions= * Open a terminal window * Type "dnf history" and press Enter * Observe the output |results= The following must be true to consider this a successf...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Description

This test case verifies the functionality of the "dnf history" 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. Install some packages and remove some packages from the system.

How to test

  • Open a terminal window
  • Type "dnf history" 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 transactions that have been performed on the system using DNF, with the most recent transactions listed first.
  • Each transaction should include the transaction ID, the date and time of the transaction, the user who performed the transaction (if applicable), and a summary of the actions taken (such as installing or removing packages).

The output is readable and formatted correctly.

Optional

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