Menu

#527 Option to select test methods from superclass in Ctrl+F9

open
nobody
None
5
2011-04-07
2011-03-30
No

When using the (otherwise very handy!) \"Run custom tests\" (Ctrl-F9) only the test methods which are defined in the file is possible to select. Test methods which has been derived from classes in other modules can not be explicitly selected (but will be executed if the complete class is selected).

Example, File1.py:
class TestBase( unittest.TestCase ):
def test1( self ):
pass

File2.py
class Test( File1.TestBase ):
def test2( self ):
pass

When selecting test cases for File2.py, only test2 can be selected explicitly, but test1 is executed if the class Test is selected.

Current installation:
- Windows 7
- Eclipse 3.5.1
- Pydev 1.6.5
- Eclipse install location C:\\OtherPrograms\\eclipse

Discussion

  • Fabio Zadrozny

    Fabio Zadrozny - 2011-04-07
    • summary: Derived test cases not selectable --> Option to select test methods from superclass in Ctrl+F9
     
  • Fabio Zadrozny

    Fabio Zadrozny - 2011-04-07

    Marking as feature request.

     
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.