bobber6467 / python-nose

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

Ability to run one of the generated test cases specifically by name #460

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1.Can't run one of the generated test cases specifically by name.

What is the expected output? What do you see instead?

Please use labels and text to provide additional information.

Description:
Need to add the ability to execute of the generated test cases by name.

Proposal:
nose test.test_spiwbt:test_wbt_generator@remote_unicast_fd_C2S

Where 
      test_wbt_generator is a test generator function that generates one or more test cases. Each returned test case functions have a description attribute
      remote_unicast_fd_C2S is one of the generated testcases and is matched with the description attribute of the yielded test function.

A patch file is attached for review. If there is better option, feel free to 
suggest it.

Original issue reported on code.google.com by sarvil...@gmail.com on 19 Oct 2011 at 12:48

Attachments: