Skip to content

Latest commit

 

History

History
37 lines (26 loc) · 1.75 KB

README.md

File metadata and controls

37 lines (26 loc) · 1.75 KB

OpenQA-Fedora-Add-Your-Tests

Code for the YouTube video https://youtu.be/UgqrQKfgQ-4

What actually is OpenQA

OpenQA is an open source GUI testing tool which uses image recognition to validate expected versus actual outcome. Uses OpenCV to search for a needle (expected image) in a haystack (actual screen output)

Supports various asserting functions and also:

When a OpenQA testing session is started, a Virtual Machine using Virtualization software is started and OpenQA connects to it using VNC.

It uses OpenCV to validate expected images versus actual images. To create those expected images you must create needles for the applications you want to test. You can use the OpenQA webUI to create or update those needles.

Fedora's tests Pagure

Light version (example)

Clone a Test Job from Fedora

sudo openqa-clone-job --from openqa.fedoraproject.org 937916 --skip-chained-deps _SKIP_POST_FAIL_HOOKS=1

Post the ISO

openqa-client isos post DISTRI=fedora VERSION="*" ISO=Fedora-Workstation-Live-x86_64-Rawhide-20210729.n.0.iso ARCH=x86_64 FLAVOR=Workstation-live-iso

Workflow of adding tests

4 simple steps to add a new test