Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #38079

Re: Problem with my nose test plugin

Newsgroups comp.lang.python
Date 2013-02-02 07:35 -0800
References <1d0edd06-2c4c-4db7-a7da-945cbb146af0@googlegroups.com>
Message-ID <3cbc079d-2453-41a6-8c5e-62a40800a813@googlegroups.com> (permalink)
Subject Re: Problem with my nose test plugin
From "R. Osinga" <roaldosinga@gmail.com>

Show all headers | View raw


On Saturday, February 2, 2013 3:43:45 PM UTC+1, R. Osinga wrote:
> Hi all,
> 
> 
> 
> I want to execute unit tests from web2py and I want to automatically discover, so I think it is wise to use nose tests for that. That way, I can write a plugin to receive the test results in stead of heaving to parse the output stream.
> 
> I use nose.run(addPlugins[MyPlugin()]), and although I see the configure() and option() get called and also see that nose runs my tests. What boggles my mind is that none of my plugins functions get called. Do I need to configure something?
> 
> 
> 
> Roald
> 
> 
> 
> the code is on pastbin: http://pastebin.com/rcXh2VAy

Addition: I use the ubuntu repo version 1.1.2-3

Back to comp.lang.python | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

Problem with my nose test plugin Roald <roaldosinga@gmail.com> - 2013-02-02 06:43 -0800
  Re: Problem with my nose test plugin "R. Osinga" <roaldosinga@gmail.com> - 2013-02-02 07:35 -0800

csiph-web