From Fedora Project Wiki
m (Adamwill moved page QA:Testcase Fedora Media Writer basic to QA:Testcase USB fmw: Make naming consistent with other standard USB test case names) |
(use templates for description and setup (but not actions or results, as they're a bit different here)) |
||
Line 2: | Line 2: | ||
{{QA/Test_Case | {{QA/Test_Case | ||
|description= | |description={{Testcase usb description|command=[https://github.com/MartinBriza/MediaWriter Fedora Media Writer]}} | ||
|setup= | |setup= | ||
{{Testcase usb setup|download=0}} | |||
# Run the tool: | # Run the tool: | ||
#* On '''Fedora''', run {{command|1=sudo dnf --enablerepo=updates-testing --refresh --best install mediawriter}}, then launch ''Fedora Media Writer'' from the system menus | #* On '''Fedora''', run {{command|1=sudo dnf --enablerepo=updates-testing --refresh --best install mediawriter}}, then launch ''Fedora Media Writer'' from the system menus | ||
#* On '''Windows''', visit the [https://github.com/MartinBriza/MediaWriter/releases/ project download page] and download the latest release, install the application using the installer and either run it after installation or find ''Fedora Media Writer'' in your application list. | #* On '''Windows''', visit the [https://github.com/MartinBriza/MediaWriter/releases/ project download page] and download the latest release, install the application using the installer and either run it after installation or find ''Fedora Media Writer'' in your application list. | ||
#* On '''macOS''', visit the [https://github.com/MartinBriza/MediaWriter/releases/ project download page] and download the dmg file, open it and run {{filename|mediawriter}} | #* On '''macOS''', visit the [https://github.com/MartinBriza/MediaWriter/releases/ project download page] and download the dmg file, open it and run {{filename|mediawriter}}. | ||
|actions= | |actions= | ||
Line 19: | Line 17: | ||
#* UEFI boot | #* UEFI boot | ||
#* BIOS boot | #* BIOS boot | ||
# | # For validation testing, and optionally for other testing: | ||
#* Start the installer | #* Start the installer | ||
#* Proceed with the installation | #* Proceed with the installation | ||
Line 33: | Line 31: | ||
# The stick should boot without error | # The stick should boot without error | ||
#* Media consistency verification before the actual boot should end without error. | #* Media consistency verification before the actual boot should end without error. | ||
# | # For validation testing, and optionally for other testing: | ||
#* The installer should start without error | #* The installer should start without error | ||
#* The installation should finish successfully | #* The installation should finish successfully | ||
#* The installed system should boot properly. Note that problems after boot that do not seem to be related to writing the image to a USB stick are likely out of the scope of this test case, though they may count as failures of another test case | #* The installed system should boot properly. Note that problems after boot that do not seem to be related to writing the image to a USB stick are likely out of the scope of this test case, though they may count as failures of another test case. If you observe the same failure booting the image in a virtual machine or from an optical disc, it is likely not a failure of this test case. | ||
# While restoring, you should get a notification that you can restore the drive. After restoring, the drive should contain a single FAT32 partition spanning over the whole drive. | # While restoring, you should get a notification that you can restore the drive. After restoring, the drive should contain a single FAT32 partition spanning over the whole drive. | ||
}} | }} | ||
[[Category:Installer Boot Methods]] | [[Category:Installer Boot Methods]] | ||
[[Category: | [[Category:Package_mediawriter_test_cases]] |
Revision as of 19:27, 30 September 2016
Description
This test verifies that a Fedora ISO image can be written to a USB stick with Fedora Media Writer, and successfully boots and installs.
Setup
- Ensure you have a USB stick larger than the image file, and whose contents you can afford to lose (the contents of the stick will be destroyed as a part of the test).
- Run the tool:
- On Fedora, run
sudo dnf --enablerepo=updates-testing --refresh --best install mediawriter
, then launch Fedora Media Writer from the system menus - On Windows, visit the project download page and download the latest release, install the application using the installer and either run it after installation or find Fedora Media Writer in your application list.
- On macOS, visit the project download page and download the dmg file, open it and run
mediawriter
.
- On Fedora, run
How to test
- Select the version of Fedora you want your flash drive to have
- Let it download an image of your preference (try a random spin/version/architecture)
- Write it to your flash drive
- Boot the system from the USB stick. If possible, try both:
- UEFI boot
- BIOS boot
- For validation testing, and optionally for other testing:
- Start the installer
- Proceed with the installation
- Verify the installation is fully operational
- Start Fedora Media Writer again in the original system you started testing in
- Insert the flash drive you used now
- Restore its partition layout inside the tool
Expected Results
- The USB stick should be wiped before being written with the image
- The image should download without error
- Writing should finish without error
- The stick should boot without error
- Media consistency verification before the actual boot should end without error.
- For validation testing, and optionally for other testing:
- The installer should start without error
- The installation should finish successfully
- The installed system should boot properly. Note that problems after boot that do not seem to be related to writing the image to a USB stick are likely out of the scope of this test case, though they may count as failures of another test case. If you observe the same failure booting the image in a virtual machine or from an optical disc, it is likely not a failure of this test case.
- While restoring, you should get a notification that you can restore the drive. After restoring, the drive should contain a single FAT32 partition spanning over the whole drive.