nosetests
Nosetests ran 0 tests
When I run nosetests --doctest-extension=.txt I get Ran 0 te开发者_开发问答sts in 0.002s OK Why does it say 0 tests when I have tests in the file README.txt?If you\'re using doctest you also ha[详细]
2023-04-13 04:02 分类:问答Running nose.run() multiples time with different config for Webdriver Python script
I\'m wondering how get nose.run() twice using different configuration in a python script I have a nosetest (un开发者_如何学Pythonit test) where it needs to be run on 2 types[详细]
2023-04-04 12:48 分类:问答How can i distinguish the XML results of two python tests (using nosetests as test runner) with the same name but with different context
I have a test footest.py which runs with mysql database, and the same test runs on psql database, is there a way to disti开发者_运维技巧nguish this difference in an XML result file between the two tes[详细]
2023-03-16 05:43 分类:问答Preventing nosetests from closing in Windows
I\'m running Windows 7 and am trying to r开发者_如何学运维un nosetests. It\'s been installed and I can run it successfully, except that when I do run it (by typing \'nosetests\' in the cmd window),[详细]
2023-03-12 19:34 分类:问答Python nose tests (actually the error is from Mox) print out errors one character per line (with line numbers!)
I\'ve recently started using Nose for my unit tests. It\'s pretty good except that sometimes when an error occurs it prints out the error information in a really weird way. It splits it up into 1 char[详细]
2023-03-08 17:55 分类:问答Problem running pylon webtests. ImportError and TestController is not defined errror
I have directory structure as follow: gnukhata/tests/functional. In functional folder I have web tests files. Following is the sample test.[详细]
2023-03-05 04:50 分类:问答nosetests is capturing the output of my print statements. How to circumvent this?
When I type $ nosetests -v mytest.py all my print outputs are captured when all tests pass. I want to see print outputs even everything passes.[详细]
2023-03-05 03:05 分类:问答Nosetests logcapture with Pylons not working
I\'m writing unit tests for a Pylons web application I\'m developing. I would like to see the logs.debug|info|etc when I run my tests and an error occurs, but right now it just captures the print() st[详细]
2023-02-24 06:14 分类:问答Nose test coverage permission error
I\'ve started using nosetests today and everything works fine until I try: nosetests --with-coverage --cover-html --cover-html-dir=/tmp/cache which throws a permission denied error and I don\'t under[详细]
2023-02-21 17:29 分类:问答Running the same tests with different configurations
I have some Python code abstract开发者_如何学Going the database and the business logic on it. This code is already covered by unit tests but now I need to test this code against different DBs (MySQL,[详细]
2023-02-13 08:15 分类:问答