Skip to content

Latest commit

 

History

History
319 lines (225 loc) · 11 KB

openqa.org

File metadata and controls

319 lines (225 loc) · 11 KB

openQA

who -u

Dan Čermák

Agenda

What is openQA?

  • a web application
  • automated test framework for a SUT
  • simulate user input
  • match video feed using OpenCV

Sales Pitch

Why should I use openQA?

  • automate manual system level testing
  • @@html: <i class=”fas fa-users”></i>@@ user-centric testing
  • runs on bare metal
  • test labeling: @@html:<i class=”fas fa-tags”></i>@@, @@html:<i class=”fas fa-bug”></i>@@ and reviews @@html: <i class=”eos-icons”>rate_review</i>@@
  • battle tested (used at @@html: <i class=”fab fa-suse”></i>, <i class=”fab fa-fedora”></i>, <i class=”fab fa-redhat”></i>@@, …)
  • LTP integration

Architecture

Web UI

Image recognition

Features

  • @@html: <i class=”far fa-hdd”></i>@@ produce test artifacts & handle assets
  • @@html: <i class=”fas fa-code-branch”></i>@@ dependency between tests & scheduling
  • @@html: <i class=”fas fa-tags”></i>@@ tag & review workflows and tests
  • @@html: <i class=”fas fa-layer-group”></i>@@ test grouping
  • support qemu/libvirt, ipmi, bare metal, x3270

testapi

sub run() {
    x11_start_program('firefox');

    send_key('alt-h');
    assert_screen('firefox_context_help_menu');

    send_key('a');
    assert_screen('firefox_about_firefox_window');

    send_key_until_needlematch('desktop', 'alt-f4');
}

Using openQA

When to use openQA

When not to use openQA

Getting started

recommended steps:

  1. start by modifying needles
  2. extend existing tests
  3. write your own tests
  4. add your own test group and schedule it

Starting from scratch

Here be @@html: <i class=”fas fa-dragon”></i>@@

  1. start from the minimal example
  2. schedule tests in main.pm
  3. learn about job groups & test suites
  4. @@html: <i class=”fas fa-magic”></i>@@
  5. 🎉

Example: bare metal testing the RPi

Use it!

Get help

on chat.freenode.net:

  • #opensuse-factory
  • #fedora-qa

Links

Legal

Questions? / Demo

Answers!

Demo!