planetarypy / pdsview

Python PDS Image Viewer
BSD 3-Clause "New" or "Revised" License
13 stars 7 forks source link

Tests #16

Closed macgyver603 closed 9 years ago

macgyver603 commented 9 years ago

Primary task was implementing a test for the gui operation using the pytest-qt plugin. Also some minor bug fixes.

godber commented 9 years ago

Remember how your tests pop up windows? That means they need x11 to run ... which is not present by default. I think I mentioned the use of xvfb before. Here is some info:

http://docs.travis-ci.com/user/gui-and-headless-browsers/#Using-xvfb-to-Run-Tests-That-Require-GUI-(e.g.-a-Web-browser)

Also, these tests take a really long time to build the code, like we've experienced here. Maybe we should make use of miniconda to get prebuit numpy/pyside etc.