#81 Create dnf modular test script to run in OpenQA
Closed: Fixed 5 years ago Opened 5 years ago by lruzicka.

We want to test modular behaviour of dnf for the following functionality:

  • enable and disable modules
  • install and remove modules
  • change module stream

A solution could be a script (Python or Bash) that would run the necessary commands and evaluate the results.
I have already started to design such a script.


I'd probably suggest one script per test case, so we can easily run the different test cases separately and know which failed.

I have written a universal script that can be modified with a set of CLI options that basically can cover all of the cases, depending which option you will use on the command line.
This solution is nicely scalable if we decide to do more magic in the future.
A pull request is coming your way.

This has been finished and merged.

Metadata Update from @lruzicka:
- Issue close_status updated to: Fixed
- Issue status updated to: Closed (was: Open)

5 years ago

Login to comment on this ticket.

Metadata