-
Notifications
You must be signed in to change notification settings - Fork 33
Qmctl tests #831
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Qmctl tests #831
Conversation
Reviewer's GuideIntroduce a new end-to-end bash test suite for the qmctl tool, consisting of a top-level runner that sets up prerequisites and invokes modular validation scripts for show, exec, execin, and cp commands, leveraging expected-output files and FMF metadata for automated discovery. File-Level Changes
Possibly linked issues
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hey @ArtiomDivak - I've reviewed your changes and they look great!
Here's what I looked at during the review
- 🟢 General issues: all looks good
- 🟢 Testing: all looks good
- 🟢 Complexity: all looks good
- 🟢 Documentation: all looks good
Help me be more useful! Please click 👍 or 👎 on each comment and I'll use the feedback to improve your reviews.
@ArtiomDivak We already have tests for that, which is running under the gates, |
@ArtiomDivak why do you need that one ? Just compare the command to the output of |
b8305ee
to
4854da3
Compare
@ArtiomDivak nice, Please take a look at other tests, |
aa94a68
to
13e54a0
Compare
Closes: https://issues.redhat.com/browse/VROOM-28614 Signed-off-by: Artiom Divak <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Closes: https://issues.redhat.com/browse/VROOM-28614
Summary by Sourcery
Add tmt tests to check qmctl functionality ( cp, show, exec and ecexin). First, the test install and set up QM, and then run the scripts that check the output of each of the qm commands.
Tests:
qmctl cp
command and copyfile_to_copy.txt
into QM and compares the text inside the file that was created.qmctl_exec.cp
runs theqmctl exec
command that creates and new Alpine container and check if it was created inside QMqmctl_execin.sh
runs theqmctl execin
command that creates a new file inside the new Alpine container and checks if it was really createdqmctl_show.sh
runs theqmctl show
command that saves its output into a file, and compares it to the expected file