Edward d'Auvergne wrote:
> Hi,
>
> Thank you very much for your efforts. The unit test framework is
> running very smoothly. There are two features or points which I could
> handle if you would like. The first is the addition of cross platform
> compatibility with paths, directory separators, etc. This I should be
> able to fix up quickly.
I will try a run on my windows box at home at some point
> The second may take a small redesign of the
> code for searching for unit tests. At the moment there appears to be
> no technique for running unit tests for functions or class methods
> located within the relax '__init__.py' files. For example in the
> current revision of the 1.3 line (r3199), there is the file
> 'test_suite/unit_tests/data/test___init__.py' which contains unit
> tests for the class methods of the relax data storage singleton in the
> relax file 'data/__init__.py'. If you like, I could have a go at
> fixing this.
>
Hum interesting I will need to think about this. If you can see a simple
solution go for it and I can have a look at the results otherwise Imore
will think about it soon (next 2-3 days)
regards
gary
also note this will run but generates errors and failures:
./unit_test_runner.py --verbose data/test___init__.py/Test_Data
> Thanks,
>
> Edward
>
>
>
> On 3/14/07, Gary S. Thompson <garyt@xxxxxxxxxxxxxxx> wrote:
>
>> garyt@xxxxxxxxxxxxxxx wrote:
>>
>> Dear All
>>
>> Apart for some code comments and command line documentation this makes a
>> 1.0beta version of the unit_test runner. I don't currently intend to
>> add any more features (there are a couple of minor changes i might do,
>> but on the other had they may not occur) . Further changes will be to
>> remove bugs ;-), unless there is anything anyone feels they really
>> need...
>>
>> regards
>> gary
>>
>> >Author: varioustoxins
>> >Date: Wed Mar 14 11:25:08 2007
>> >New Revision: 3194
>> >
>> >URL: http://svn.gna.org/viewcvs/relax?rev=3194&view=rev
>> >Log:
>> >updates to unit_test_runner, code cleanup, more command line options
>> >changes for the change in name of
>> unit_tests.unit_test_runner.Unit_test_runner
>> >
>> >
>> >Modified:
>> > 1.3/relax
>> > 1.3/test_suite/runner.py
>> > 1.3/test_suite/unit_tests/unit_test_runner.py
>> >
>> >[This mail would be too long, it was shortened to contain the URLs
>> only.]
>> >
>> >Modified: 1.3/relax
>> >URL:
>>
http://svn.gna.org/viewcvs/relax/1.3/relax?rev=3194&r1=3193&r2=3194&view=diff
>>
>> >
>> >Modified: 1.3/test_suite/runner.py
>> >URL:
>>
http://svn.gna.org/viewcvs/relax/1.3/test_suite/runner.py?rev=3194&r1=3193&r2=3194&view=diff
>>
>> >
>> >Modified: 1.3/test_suite/unit_tests/unit_test_runner.py
>> >URL:
>>
http://svn.gna.org/viewcvs/relax/1.3/test_suite/unit_tests/unit_test_runner.py?rev=3194&r1=3193&r2=3194&view=diff
>>
>> >
>> >
>> >_______________________________________________
>> >relax (http://nmr-relax.com)
>> >
>> >This is the relax-commits mailing list
>> >relax-commits@xxxxxxx
>> >
>> >To unsubscribe from this list, get a password
>> >reminder, or change your subscription options,
>> >visit the list information page at
>> >https://mail.gna.org/listinfo/relax-commits
>> >
>> >.
>> >
>> >
>> >
>>
>>
>> --
>> -------------------------------------------------------------------
>> Dr Gary Thompson
>> Astbury Centre for Structural Molecular Biology,
>> University of Leeds, Astbury Building,
>> Leeds, LS2 9JT, West-Yorkshire, UK Tel. +44-113-3433024
>> email: garyt@xxxxxxxxxxxxxxx Fax +44-113-2331407
>> -------------------------------------------------------------------
>>
>>
>>
>> _______________________________________________
>> relax (http://nmr-relax.com)
>>
>> This is the relax-devel mailing list
>> relax-devel@xxxxxxx
>>
>> To unsubscribe from this list, get a password
>> reminder, or change your subscription options,
>> visit the list information page at
>> https://mail.gna.org/listinfo/relax-devel
>>
>
> .
>
--
-------------------------------------------------------------------
Dr Gary Thompson
Astbury Centre for Structural Molecular Biology,
University of Leeds, Astbury Building,
Leeds, LS2 9JT, West-Yorkshire, UK Tel. +44-113-3433024
email: garyt@xxxxxxxxxxxxxxx Fax +44-113-2331407
-------------------------------------------------------------------