Gordon

A collection of autotests for Crowbar

At SUSE, we're using Crowbar in such products as Cloud and Storage, so it will be really helpful for us to have a collection of tests for the web interface and run them after each update to make sure that everything works as expected.

There's a short video about gordon in action here

This project is written in Python3 and uses Splinter library

You can check out source code on the github page

gordon

Results by this hackweeck:

  • POC was created;
  • Gordon can simulate typical user behavior (drag & drop, form filling etc...) on Crowbar page;
  • ~ 60 tests were written.
  • Here is my short presentation from Prague lightning talks session.

Still need to be done:

  • cover whole Crowbar page with tests;
  • fetch more hackers to this project;
  • cleanup and refactoring (the project is still in alpha phase)

New ideas:

  • we can use Gordon POC as the base for another web page testing (for example Portus)

Blog posts:

p.s. the name of the project was inspired by Gordon Freeman, because who better knows how to use crowbar :) ?

Looking for hackers with the skills:

python python3 cloud storage splinter testing tests automation crowbar autotests

This project is part of:

Hack Week 14

Activity

  • almost 7 years ago: jctmichel liked this project.
  • almost 7 years ago: kbaikov liked this project.
  • almost 7 years ago: locilka liked this project.
  • almost 7 years ago: pgonin liked this project.
  • almost 7 years ago: osukup liked this project.
  • almost 7 years ago: dwaas liked this project.
  • almost 7 years ago: evshmarnev added keyword "autotests" to this project.
  • almost 7 years ago: evshmarnev added keyword "crowbar" to this project.
  • almost 7 years ago: evshmarnev started this project.
  • almost 7 years ago: evshmarnev added keyword "python" to this project.
  • almost 7 years ago: evshmarnev added keyword "python3" to this project.
  • almost 7 years ago: evshmarnev added keyword "cloud" to this project.
  • almost 7 years ago: evshmarnev added keyword "storage" to this project.
  • almost 7 years ago: evshmarnev added keyword "splinter" to this project.
  • almost 7 years ago: evshmarnev added keyword "testing" to this project.
  • almost 7 years ago: evshmarnev added keyword "tests" to this project.
  • almost 7 years ago: evshmarnev added keyword "automation" to this project.
  • almost 7 years ago: evshmarnev originated this project.

  • Comments

    • tboerger
      almost 7 years ago by tboerger | Reply

      Just a simple question... Why the hell python for testing a ruby based project? Beside that there is already https://github.com/SUSE-Cloud/cct

    • evshmarnev
      almost 7 years ago by evshmarnev | Reply

      Hi :) I don't think that it's important to choose ruby if you want to interact with web-interface and check results. Regarding cct: Vladimir is more comfortable with ruby, and I'm - with python. We will see what I can do during this hackweek and if it will be valuable for whole QAM team which I am a part of.
      Hope I answered your question.

    Similar Projects

    Give some love to spec-cleaner by kstreitova

    Project Description

    spec-cleaner is an open...


    Testing and adding GNU/Linux distributions on Uyuni by juliogonzalezgil

    Join the Gitter channel! [https://gitter.im/uy...


    One of couple of Python projects (update M2Crypto) by mcepl

    There are couple of projects I work on, which n...


    OSSelot collaboration on legal reviews of community packages by lkocman

    [comment]: # (Please use the project descriptio...


    Linux Immersive Learning System (LILS) by dgarcia

    [comment]: # (Please use the project descriptio...


    drgn: implement crash top-level commands by marxin

    Project Description

    The goal of the proje...


    Make orthos/cobbler more ansible aware by trenn

    Enhance ansible usage in orthos

    What is...


    Create tool to analyze supportconfig to spot common SUSE Manager / Uyuni issues by cbosdonnat

    [comment]: # (Please use the project descriptio...


    Testing and adding GNU/Linux distributions on Uyuni by juliogonzalezgil

    Join the Gitter channel! [https://gitter.im/uy...


    Uyuni: add SLE-Micro acceptance tests by mbussolotto

    Project Description

    Uyuni: add SLE-Micro ...


    How software creation process can save energy and CO2 emissions by acervesato

    [comment]: # (Please use the project descriptio...


    OpenQA test list views improvement by mdati

    Project Description

    Create views of **Ope...


    Uyuni test suite improvements by dgedon

    Project Description

    Uyuni is the upstream...