Top "Nose" questions

Nose is an alternate Python unittest discovery and running process.

How to suppress verbose Tensorflow logging?

I'm unittesting my Tensorflow code with nosetests but it produces such amount of verbose output that makes it useless. The …

tensorflow deep-learning nose
nose vs pytest - what are the (subjective) differences that should make me pick either?

I've started working on a rather big (multithreaded) Python project, with loads of (unit)tests. The most important problem there …

python pytest nose
How to set self.maxDiff in nose to get full diff output?

When using nose 1.2.1 with Python 3.3.0, I sometimes get an error message similar to the following one ====================================================================== FAIL: maxdiff2.test_equal …

python nose
Pycharm - no tests were found?

I've been getting a No tests were found error in Pycharm and I can't figure out why I'm getting it... …

python unit-testing pycharm nose
`python -m unittest discover` does not discover tests

Python's unittest discover does not find my tests! I have been using nose to discover my unit tests and it …

python unit-testing nose unittest2
setting breakpoints with nosetests --pdb option

nosetests --pdb let's me halt upon error or failure, but this is too late for my needs. Stepping through code …

python testing nose pdb
How should we test exceptions with nose?

I'm testing exceptions with nose. Here's an example: def testDeleteUserUserNotFound(self): "Test exception is raised when trying to delete non-existent …

python testing nose
Scrapy Unit Testing

I'd like to implement some unit tests in a Scrapy (screen scraper/web crawler). Since a project is run through …

python unit-testing scrapy nose
Python imports for tests using nose - what is best practice for imports of modules above current package

This is a question which is asked frequently in different forms, and often obtains "lol you're not doing it properly" …

python testing nose python-import
running nose --with-coverage to get all the package files, but not other dependencies and libs

My project folder(yeah - I know it's best practice) is something like: . ├── app.py ├── otherscript.py ├── tests/ └── tools/ ├── __init__.…

python nose nosetests