Subject: | Tests fail without a DISPLAY |
See subject. Probably it's best to skip the tests if the main window could not be created, e.g. by using something like:
my $mw = eval { MainWindow->new };
plan skip_all => "Cannot create main window: $@" if !$mw;
plan tests => ...;