(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...") |
No edit summary |
||
Line 13: | Line 13: | ||
* The output includes a list of all transactions that have been performed on the system using DNF, with the most recent transactions listed first. | * 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). | * 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. | * 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. | |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. | ||
}} | }} |
Latest revision as of 16:17, 13 March 2023
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.