bobber6467 / python-nose

Automatically exported from code.google.com/p/python-nose
0 stars 0 forks source link

Nose does not collect tests from extension modules #327

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. writing an extension module with test functions and test classes
2. using --include to nosetests to have nose select extension modules

What is the expected output? What do you see instead?
That it runs the tests inside the extension module, it doesn't.

What version of the product are you using? On what operating system?
Using nose 0.10.4, on Ubuntu 9.10.

Original issue reported on code.google.com by markflor...@gmail.com on 21 Mar 2010 at 1:36

GoogleCodeExporter commented 8 years ago
It would be really awesome if this were implemented. The killer app IMO would 
be using Cython (or Pyrex) to write unit tests for C/C++ code without having to 
write any wrappers. Guess I'll just have to fall back on unittest for now.

Original comment by jeff.lau...@gmail.com on 13 May 2011 at 1:32

GoogleCodeExporter commented 8 years ago
This should be possible by how nose imports a module to discover tests.  Can 
you attach a module and test case to reproduce the problem?

Original comment by kumar.mcmillan on 13 May 2011 at 3:36