Actions
action #1314
closedInclude an API to make assert for console application (text asserts)
Description
Console tests are using graphical elements to make the assert. We need better ways to assert text from the console
Updated by coolo over 10 years ago
- Assignee set to coolo
- Target version set to Sprint 12
Updated by coolo over 10 years ago
I'm experimenting with this interface:
use base 'opensusebasetest';
use strict;
use testapi;
# Check that there is access to the local hard disk
sub script() {
return << 'EOS';
mount /dev/vda2 /mnt
cat /mnt/etc/SUSE-brand
EOS
}
sub run() {
validate_script_output { $_ =~ m/VERSION = / };
}
sub test_flags() {
return { 'important' => 1 };
}
1;
Updated by coolo over 10 years ago
- Status changed from New to Resolved
After discussion on mailing list, I changed the interface. And I think there is a lot of potential in this.
Actions