GithubHelp home page GithubHelp logo

tubbz-alt / os-autoinst Goto Github PK

View Code? Open in Web Editor NEW

This project forked from martyr-deepin/os-autoinst

0.0 0.0 0.0 11.2 MB

mirrored from https://cr.deepin.io/#/admin/projects/os-autoinst

License: Other

Makefile 1.24% Shell 0.20% Perl 83.01% Python 6.70% M4 0.30% C++ 7.55% XS 0.99%

os-autoinst's Introduction

os-autoinst

Table of Contents

The OS-autoinst project aims at providing a means to run fully automated tests. Especially to run tests of basic and low-level operating system components such as bootloader, kernel, installer and upgrade, which can not easily and safely be tested with other automated testing frameworks. However, it can just as well be used to test firefox and openoffice operation on top of a newly installed OS.

os-autoinst can be executed alone, but is currently designed to be executed together with openQA, the web user interface that allows to run more than one os-autoinst instance at the same time.

Getting started

To install os-autoinst, you can see INSTALL

To execute an instance of os-autoinst, we need to create file named vars.json, that we use to store the values of the different variables that will configure and drive the behavior of the application.

There are some variables used by os-autoinst itself and other that are used by the tests. A minimal vars.json file can be:

{
   "DISTRI" :      "opensuse",
   "CASEDIR" :     "/full/path/for/tests",
   "NAME" :        "test-name",
   "ISO" :         "/full/path/for/iso",
   "VNC" :         "91",
   "BACKEND" :     "qemu",
   "DESKTOP" :     "kde"
}

Now we can launch the application with:

$ ../os-autoinst/isotovideo

and we can use VNC to connect to the QEMU instance:

$ vncviewer localhost:91 -ViewOnly -Shared

If you want to contribute to this project, please clone and send git-pull requests via https://github.com/os-autoinst/os-autoinst

os-autoinst's People

Contributors

aaannz avatar adamwill avatar ancorgs avatar aplanas avatar asdil12 avatar bmwiedemann avatar coolo avatar cwh42 avatar dimstar77 avatar dzedro avatar garretraziel avatar houzuoguo avatar jreidinger avatar lnussel avatar manugupt1 avatar miska avatar mitiao avatar mvidner avatar nadvornik avatar nelg avatar nick-wang avatar nilxam avatar qiujieqiong avatar scarabeusiv avatar serosun avatar sysrich avatar wnereiz avatar xjingitty avatar yifanjiang avatar zxdvd avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.