Top "Nose" questions

Nose is an alternate Python unittest discovery and running process.

I need a sample of python unit testing sqlalchemy model with nose

Can someone show me how to write unit tests for sqlalchemy model I created using nose. I just need one …

python unit-testing testing sqlalchemy nose
Excluding directory, module in python nosetest

We use nose to discover tests and run them. All the tests are written in TestCase compatible way so any …

python unit-testing testing nose
How to exclude mock package from python coverage report using nosetests

I currently try to use the mock library to write some basic nose unittests in python. After finishing some basic …

python mocking code-coverage nose python-mock
How to automatically run tests when there's any change in my project (Django)?

At the moment I am running python manage.py test every once in a while after I make significant changes …

python django unit-testing testing nose
How to get around "sys.exit()" in python nosetest?

It seems that python nosetest will quit when encountered "sys.exit()", and mocking of this built-in doesn't work. Thanks for …

python mocking nose
Python - How to unmock/reset mock during testing?

I'm using nosetests and in two separate files I have two tests. Both run fine when run individually, but when …

python unit-testing testing mocking nose
What is the difference between unittest, pytest and nose modules?

I'm new in python testing and am having some diffiulties choosing between unittest, pytest and nose nose. I'm bulding a …

python nose pytest python-unittest
Can I restrict nose coverage output to directory (rather than package)?

My SUT looks like: foo.py bar.py tests/__init__.py [empty] tests/foo_tests.py tests/bar_tests.py …

python code-coverage nose nosetests
How to unit-test code that uses python-multiprocessing

I have some code that uses multiprocessing.Pool to fork workers and perform a task in parallel. I'm trying to …

python unit-testing nose python-multiprocessing
How to exclude a file from coverage.py?

I use nosetest's coverage.py plugin. Is it somehow possible to exclude entire files or folders from the coverage report? …

python unit-testing code-coverage nose coverage.py