●
Automatisiertes Testen von
OTRS-Erweiterungen
– Statische Analyse
– Laufzeittest
●
Ziele
– Sicherheitslücken (nahezu) ausschließen
– Getestete Module
– Usern mehr Informationen zum Modul liefern
– Performancefresser identifizieren
Slide 3
Slide 3 text
No content
Slide 4
Slide 4 text
No content
Slide 5
Slide 5 text
No content
Slide 6
Slide 6 text
# 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,
);
Slide 7
Slide 7 text
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;