I am trying to write a custom plugin for nosetests ( a plugin to run as a custom selector) which works fine and i can use it by calling
nose.run(plugins=[CustomSelectorPlugin()])
However i also want to run nose with the built-in xunit plugin but I am unsure as to how to do this.
I have tried
nose.main(plugins=[CustomSelectorPlugin()], argv=['--with-xunit'])
and calling my program with --with-xunit option but these do not seem to work (well, everythion runs fine but there is no nosetests.xml generated)
How do i run both my plugin and xunit pragmatically?
Thanks