Re: wxPython pdfViewer demo

Robin Dunn <[email protected]> Tue, 9 Oct 2018 10:53:57 -0700 (PDT)
Newsgroups gmane.comp.python.wxpython.devel
Message-ID <[email protected]>
On Monday, October 8, 2018 at 3:14:57 PM UTC-7, typical name wrote:
>
> Ok, thanks for the advice. I will fork and issue a pull request, since I 
> would call the changes "medium".
>
> I would like to "run the tests." 
> But I'm not exactly how to do this. 
> I am teaching myself python, and am not an experienced developer.
>
> I assume you mean that I should run the suite of unit tests?
> (Phoenix/tree/master/unittests)
>
> I have not ever done that before. 
> I would welcome advice as to how to get started doing that so I can be a 
> better contributor....
>


The build.py script has commands for running the tests. Once you have a 
wxPython build[1] in your local workspace then you can run the tests like 
this:

    python build.py test

Or you can run specific tests, like just the ones for pdfviewer, by giving 
the path name(s) of the test modules to run, like this:

    python build.py unittests/test_lib_pdfviewer_pdfviewer.py


[1] See the instructions in the README.rst file in the root of the source 
tree.

--
Robin
 

-- 
You received this message because you are subscribed to the Google Groups "wxPython-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
For more options, visit https://groups.google.com/d/optout.