[TIP] oejskit + plain unittest Re: ANN: oejskit 0.8.5 JavaScript in-browser testing and utility kit with py.test plugin

Marius Gedminas marius at gedmin.as
Wed Jul 29 11:05:39 PDT 2009

On Tue, Jul 28, 2009 at 07:13:12PM +0200, Samuele Pedroni wrote:
> I have checked in myself some plain stdlib unittest + oejskit 
> integration, an usage example that just repeats
> some of the py.test scenarios is here:
> http://bitbucket.org/pedronis/js-infrastructure/src/tip/test/unittests.py
> the integration code is all in:
> http://bitbucket.org/pedronis/js-infrastructure/src/tip/oejskit/unittest_support.py


> I don't use plain unittest much at all, so I don't know if this is 
> idiomatic enough. Feedback and improvements are welcome. It basically 
> defines a JavaScript specific suite that can be subclassed to add 
> configuration info that would go in conftest in py.test, also as for 
> py.test tests are run against all specified browser kinds, either given 
> as a parameter to the suite or inferred from the js file name.

I'll give it a spin.

Marius Gedminas
Everything you read in newspapers is absolutely true, except for that
rare story of which you happen to have first-hand knowledge.
                -- Erwin Knoll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://lists.idyll.org/pipermail/testing-in-python/attachments/20090729/3d46a7f5/attachment.pgp 

More information about the testing-in-python mailing list