nose
Python unit-test running oddity with Eclipse and PyDev
I have created a Pydev project following this layout: - project_root/ |- setup.py |- my_package/ |- __init__.py[详细]
2023-04-13 00:55 分类:问答Nose ignores test with custom decorator
I have some relatively complex integration tests in my Python code.I simplified them greatly with a custom decorator and I\'m really happy with the result.Here\'s a simple example of what my de开发者_[详细]
2023-04-12 01:06 分类:问答Can't import django packages with nosegae
I am trying to get started with using nosegae, however I run into the issue that I can\'开发者_JS百科t seem to get it to pass even the simplest of cases when using django.[详细]
2023-04-05 19:01 分类:问答Nose: test all modules in a given package
I have a package with several sub-packages, one of them for tests (named tests). Since the sub-package name makes it clear that contained modules are test modules, I prefer not to pollute module names[详细]
2023-04-04 07:56 分类:问答Nosetests & Combined Coverage
I have many projects that I开发者_如何学JAVA\'m programatically running: nosetest --with-coverage --cover-html-dir=happy-sauce/[详细]
2023-04-03 19:17 分类:问答Python unittest: Retry on failure with Nose?
I have a test which randomly fails and I want to let it retry a number of times before sending an error message.[详细]
2023-04-01 02:06 分类:问答Django TestRunner Incorrect Query Counts, Corrupted Data?? General Mayhem
I\'ve been having a very strange problem. I have a test class that subclasses django.test.TestCase which has about 5 different tests in it.[详细]
2023-03-29 15:00 分类:问答Nose Test Generators inside Class
Is it possible to run nose test generators inside custom classes? I am trying to convert the example into a simple class based version:[详细]
2023-03-20 17:24 分类:问答Testing that the proper object is returned in nose (Learn Python the Hard Way Ex 49)
I have been working on Learn Python the Hard Way 2nd Ed and it has been fantastic.My question has to do with Exercise 49 (http://learnpythonthehardway.org/book/ex49.html), which is about writing nose[详细]
2023-03-19 18:21 分类:问答Python imports for tests using nose - what is best practice for imports of modules above current package
This is a question which is asked frequentl开发者_如何转开发y in different forms, and often obtains \"lol you\'re not doing it properly\" responses. Pretty sure that\'s because there\'s a common sense[详细]
2023-03-19 14:30 分类:问答