Problem with my nose test plugin

R

Roald

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
 
R

R. Osinga

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,580
Members
45,055
Latest member
SlimSparkKetoACVReview

Latest Threads

Top