Prabhu Ramachandran | 19 Jul 20:47

Re: Overview of ETS 3.0 tests

Ilan Schnell wrote:
> Hi,
> I've complied an overview of the different projects and the failure
> rates:
> http://www.enthought.com/~ischnell/ets.txt
> 
> The first number is always the number of tests run in that folder.
> I would say that things are not so bad:
> - BlockCanvas has the most failures, many things are out of data
> - Traits needs some more work.
> - Mayavi basically passes the tests, but they are not really meant
>   to be run by nosetests

Thanks for this.  I've reorganized the mayavi tests quite a bit and 
test_all.py no longer picks up the mayavi integration tests.  I have 
however fixed various test related issues so more of them ought to pass.

The mayavi tests do not play nicely with nose.  I think this can be 
fixed and have something that works for one of the tests in my working copy.

There is one major issue I do have though.  It is possible to run the 
tests with different command line options

$ python test_image_plane_widget.py -h
Usage: test_image_plane_widget.py [options]

Options:
   -h, --help        show this help message and exit
   -v, --verbose     Print verbose output
   -i, --interact    Allow interaction after test (default: False)
   -s, --standalone  Run test using standalone mode without envisage 
(default:
                     False)
   -o, --offscreen   Always use offscreen rendering when generating images
                     (default: False)

Each of these is useful.  To get these working without conflicting with 
the nose options is a pain.  One option is to create a config file for 
the tests.  I don't like this.  I am not sure what the best solution 
would be?  Thoughts?

Once I have a solution to this I should be able to get nosetests working 
with all the mayavi tests.

cheers,
prabhu

Gmane