Giter Club home page Giter Club logo

os-autoinst-distri-openindiana's Introduction

openQA tests for OpenIndiana

openQA dashboard: https://openqa.oi.mnowak.cz/.

Complete openQA documentation is at http://open.qa/.

Setup your local openQA instance.

Get the test code

Fork following repositories on GitHub

https://github.com/OpenIndiana/os-autoinst-distri-openindiana
https://github.com/OpenIndiana/os-autoinst
https://github.com/OpenIndiana/os-autoinst-needles-openindiana

Clone your forks locally

YOU="Mno-hime"           # your GitHub handle
git clone [email protected]:${YOU}/os-autoinst-distri-openindiana.git
git clone [email protected]:${YOU}/os-autoinst.git os-autoinst-distri-openindiana/os-autoinst/
git clone [email protected]:${YOU}/os-autoinst-needles-openindiana.git os-autoinst-distri-openindiana/products/openindiana/needles/
# Make sure 'geekotest' user and your login user can access the needles directory
chown geekotest os-autoinst-distri-openindiana/products/openindiana/needles/
cd os-autoinst-distri-openindiana/

Prepare your environment

Install necessary Perl libraries locally:

cpanm --local-lib=~/perl5 local::lib && eval $(perl -I ~/perl5/lib/perl5/ -Mlocal::lib)

Setup the project:

make prepare

Create new branch, do changes, test them in your local openQA instance, run make test to verify that the changes are valid and conform to coding style, and finally create a Pull Request on GitHub.

Providing Pull Request means you agree with license of this project, which is to be found in each respective file. Some of the tests are derived from openSUSE openQA tests, hence the SUSE LLC copyright.

If you have questions, ask mnowak_ on #oi-dev at Freenode.

Coding style

The project follows the rules of the os-autoinst project and additionally the following rules:

  • The test code should use simple Perl statements, not overly hacky approaches, to encourage contributions by newcomers and test writers which are not programmers or Perl experts.
  • Update the copyright information with the current year. For new files make sure to only state the year during which the code was written.
  • Use my ($self) = @_; for parameter parsing in methods when accessing the $self object. Do not parse any parameter if you do not need any.
  • Don't repeat yourself
  • Run make test on the tests. It is recommended to call tools/tidy locally to fix the style of your changes before providing a pull request.

License

Files are minimal copyleft, but please check the license within the files.

os-autoinst-distri-openindiana's People

Contributors

mno-hime avatar

Watchers

 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.