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

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

  • Comments

    • tboerger
      about 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
      about 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

    Ebook Reader word translator by dmulder

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


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

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


    Multi-cloud Lightweight metadata CLI by seanmarlow

    Project Description

    The goal of this proj...


    Blog about our ScummVM Freeware games packages by sndirsch

    Blog about ScummVM Freeware games of our open...


    web-based testing tracker for aquarist-labs's s3gw by jluis

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


    Testing and adding GNU/Linux distributions on Uyuni by juliogonzalezgil

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