Re: Test window creation

[email protected] (David Cantrell)
Newsgroups perl.module-authors
Message-ID <[email protected]>
On Tue, Jul 26, 2016 at 08:21:00AM -0500, Luis Mochan wrote:

> I wonder how do you 'Test' a module that is related to a graphical
> interface. I got failure reports from cpan testers with  messages like:
> 
> #          got: 'couldn't connect to display ":0" at \
> /home/cpan/pit/thr/conf/perl-5.24.0/.cpanplus/5.24.0/build/Ss0ihFoAc_/Tk-804.033/blib/lib/Tk/MainWindow.pm \
> line 53. 
> # Tk::MainWindow->new() at t/create.t line 45.

See the section "Why are you testing (and failing) my Tk-ish module
without an X server" here:
  http://wiki.cpantesters.org/wiki/CPANAuthorNotes

-- 
David Cantrell | Reality Engineer, Ministry of Information

More people are driven insane through religious hysteria than
by drinking alcohol.    -- W C Fields
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.