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 7 years ago: jctmichel liked this project.
  • over 7 years ago: kbaikov liked this project.
  • over 7 years ago: locilka liked this project.
  • over 7 years ago: pgonin liked this project.
  • over 7 years ago: osukup liked this project.
  • over 7 years ago: dwaas liked this project.
  • over 7 years ago: evshmarnev added keyword "autotests" to this project.
  • over 7 years ago: evshmarnev added keyword "crowbar" to this project.
  • over 7 years ago: evshmarnev started this project.
  • over 7 years ago: evshmarnev added keyword "python" to this project.
  • over 7 years ago: evshmarnev added keyword "python3" to this project.
  • over 7 years ago: evshmarnev added keyword "cloud" to this project.
  • over 7 years ago: evshmarnev added keyword "storage" to this project.
  • over 7 years ago: evshmarnev added keyword "splinter" to this project.
  • over 7 years ago: evshmarnev added keyword "testing" to this project.
  • over 7 years ago: evshmarnev added keyword "tests" to this project.
  • over 7 years ago: evshmarnev added keyword "automation" to this project.
  • over 7 years ago: evshmarnev originated this project.

  • Comments

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

    Saline (state deployment control and monitoring tool for SUSE Manager/Uyuni) by vizhestkov

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


    Script that loads dummy data into HANA database for testing purposes. by rangelino

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


    A quantum physics experiment puzzle (designed with Google's CP-SAT solver) by moio

    [![link to video player demoing the result](htt...


    Grab precise changes in log file/s between system events by smhalas

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


    Forklift - Text based GUI utility for dealing with containers by andreabenini

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


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

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


    A quantum physics experiment puzzle (designed with Google's CP-SAT solver) by moio

    [![link to video player demoing the result](htt...


    Publish two personally productive projects (preferably on github) by dmair

    Since this will be my first real "from the star...


    TinyTutor - an AI chat-bot powered children's tutor by dmulder

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


    Cluster-Tester for SAP HANA System Replication Cluster by fmherschel

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


    Package MONAI Machine Learning Models for Medical Applications by jordimassaguerpla

    Project Description

    MONAI Deploy aims to ...


    Mortgage Plan Analyzer by RMestre

    Project Description

    Many people face chal...


    GNOME Love by dgarcia

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