nose-devs / nose

nose is nicer testing for python
http://readthedocs.org/docs/nose/en/latest/
1.36k stars 395 forks source link

added support for method match only #1051

Open p00j4 opened 7 years ago

p00j4 commented 7 years ago

To get the solution for https://github.com/nose-devs/nose/issues/1050 Use Case nosetests {test_path} --matchMethod={val} This will try to match on methods only (not applying the same regex on Files/Dir/module etc.) so now user can use both, 1 for all other match except method.

Cases Tested

  1. when matchMethod is used alone
  2. when match is used alone
  3. when both are used
p00j4 commented 7 years ago

it fails for

no such option: --use-mirrors   
The command "pip install -r requirements.txt --use-mirrors" failed and exited with 2 during .

shall I remove the --use-mirror flag from travis file and retry?

p00j4 commented 7 years ago

@jszakmeister can you please help here

p00j4 commented 7 years ago

ping @jszakmeister

p00j4 commented 6 years ago

i'm wondering if this repository is open for adoption or not to be touched at all. 🤕

jszakmeister commented 6 years ago

It's looking for a maintainer, and has been for a long time: https://groups.google.com/forum/#!topic/nose-dev/rkofU1WdNNc

Note: Nose2 is largely viewed as the successor to Nose: https://github.com/nose-devs/nose2