From Fedora Project Wiki

Line 1: Line 1:
 
{{QA/Test_Case
 
{{QA/Test_Case
|description={{Test DNF2.0 description|command=[https://fedoraproject.org/wiki/Changes/DNF-2.0 DNF 2.0]}}
+
|description=
 +
DNF-2.0 is the next upcoming major version of DNF package manager. Unfortunately, it brings some incompatibilities with previous version of DNF (DNF-1) which were either needed to preserve compatibility with YUM CLI or where bigger redesigns were needed. A list of identified incompatible changes can be found here[http://dnf.readthedocs.io/en/latest/dnf-1_vs_dnf-2.html].This test case identifies how to test basic commands , plugins and third party software.
 
|setup=
 
|setup=
 
* you can install DNF-2 from [https://copr.fedorainfracloud.org/coprs/rpmsoftwaremanagement/dnf-nightly/ this COPR repo] for testing
 
* you can install DNF-2 from [https://copr.fedorainfracloud.org/coprs/rpmsoftwaremanagement/dnf-nightly/ this COPR repo] for testing
Line 10: Line 11:
 
** third party software: mock, yumex
 
** third party software: mock, yumex
 
|actions=
 
|actions=
 +
* In Fedora 24 & 25
 +
** Enable and install the copr repo.
 +
** Install, upgrade and remove packages.
 +
** 
 +
** Upgrade to n+1 or n+2.
 +
**
 +
 +
* In Fedora 26
 +
**
 +
 
  
 
|results=
 
|results=
}}
+
*In Fedora 24 & 25
 +
** Repo will enable and install without throwing any error
 +
** System will successfully upgrade to desired version

Revision as of 07:24, 3 May 2017

{{QA/Test_Case |description= DNF-2.0 is the next upcoming major version of DNF package manager. Unfortunately, it brings some incompatibilities with previous version of DNF (DNF-1) which were either needed to preserve compatibility with YUM CLI or where bigger redesigns were needed. A list of identified incompatible changes can be found here[1].This test case identifies how to test basic commands , plugins and third party software. |setup=

  • you can install DNF-2 from this COPR repo for testing
  • testing scenarios:
    • anaconda installation
    • upgrade from previous Fedora version
    • core functionality: install, upgrade, remove, repoquery
    • dnf-plugins: copr, system-upgrade, download
    • third party software: mock, yumex

|actions=

  • In Fedora 24 & 25
    • Enable and install the copr repo.
    • Install, upgrade and remove packages.
    • Upgrade to n+1 or n+2.
  • In Fedora 26


|results=

  • In Fedora 24 & 25
    • Repo will enable and install without throwing any error
    • System will successfully upgrade to desired version