Issue #561 invalid
Michael Schatzow created an issue

Is there an example of running nosetests?

I have a service account that runs on every push/pull to master.

coverage run $(which nosetests) --with-xunit $test_files coverage html -D directory

A user introduced a failing test and it never exiting.

Comments (3)

  1. Ned Batchelder repo owner

    I'm not sure what you are asking for here: 1) an addition to the docs that shows how to run nose? 2) a fix for a failing test that never exits? or 3) help with your problem.

    The simplest way to run nose is:

    coverage run -m nose ....
    
  2. Michael Schatzow reporter

    Ned, sorry for the confusion. I was running "coverage run nosetests" instead of coverage run -m nose ....

    It works fine except if a user breaks a test. If a user breaks a test, coverage never exits.

    coverage run -m nose works in this case. Sorry for the confusion. I appreciate the help.

  3. Log in to comment