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

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

  • Comments

    • tboerger
      over 6 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
      over 6 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

    OSSelot collaboration on legal reviews of community packages by lkocman

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


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

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


    zypper plugin for discovering reverse dependencies by bzoltan1

    Often when we test maintenance updates or when ...


    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...


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

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


    Make orthos/cobbler more ansible aware by trenn

    Enhance ansible usage in orthos

    What is...


    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 ...


    Uyuni test suite improvements by dgedon

    Project Description

    Uyuni is the upstream...