OPAR Smokes

Sponsored · Ship Features Fearlessly Turn features on and off without deploys. Used by thousands of Ruby developers. →
Renee
October 26, 2013

OPAR Smokes

Getestete Module haben eine höhere Akzeptanz als ungetestete. Mit der OPAR-Verifizierung soll es möglich sein, OTRS-Erweiterungen automatisiert zu testen und sowohl dem Benutzer als auch dem Autor Feedback zur "Qualität" des Moduls zu geben.

Renee

October 26, 2013

Annual Pro sale · Save $30

Have presentations of your own?

Share with private links, password protection, and more control over your work.

Transcript

12 slides
  1. • Automatisiertes Testen von OTRS-Erweiterungen – Statische Analyse – Laufzeittest

    • Ziele – Sicherheitslücken (nahezu) ausschließen – Getestete Module – Usern mehr Informationen zum Modul liefern – Performancefresser identifizieren
  2. # prepare connection to VM-Server my $jiffy = VM::JiffyBox->new(token =>

    $auth_token); my $new_box = $jiffy->create_vm( name => $clone_name, planid => $plan_id, distribution => $os, password => $root_password, );
  3. use Net::OpenSSH; my $ssh = Net::OpenSSH->new($host); $ssh->error and die "Couldn't

    establish SSH connection: ". $ssh->error; $ssh->system("wget http://test.tld/setup.pl") or die "remote command failed: " . $ssh->error; $ssh->system("perl setup.pl") or die "remote command failed: " . $ssh->error;
  4. • Statische Analyse – Validität Dateien – Perl::Critic::OTRS – Template-Überprüfung

    (Trennung HTML ↔ CSS, …) – Dokumentation vorhanden – Prüfung Lizenz
  5. • Laufzeitanalyse – Dateiänderungen prüfen – DB-Änderungen prüfen – Prüfen,

    welche „Kommunikation“ nach außen geht – Syntaxcheck – Unittests

More Decks by Renee

Other Decks in Programming