nose
nose copied to clipboard
nose is nicer testing for python
Like this: testcase |---- __init__.py |---- test_bb.py test_bb.py file is: def test_qq(): pass In python 3.8: nosetests testcase: Ran 0 tests in xxx OK In python 2: this ok ,can...
In my repository https://github.com/mitya57/pymarkups, I have a test defined as. ``` python @unittest.skipUnless(TextileMarkup.available(), 'Textile not available') class TextileTest(unittest.TestCase): ... ``` When running it when Textlile is not installed, I get:...
I'm using nosetests1.3.7 on Ubuntu 16.10 I have a simple directory structure as follows controller/controller.py tests/test_ethernet.py # which looks like class TestEthernet(unittest.TestCase): def setUp(self): print("Running setup") def test_setup(self): self.assertEqual(1,1) print("Here")...
environment: python 3.4 nose1.3.7 I have a test in the format of subtests ``` python def test_even(self): for i in range(0, 6): with self.subTest(i=i): self.assertEqual(i % 2, 0) ``` According...
Hello everyone, Sadly, this project [looks abandoned](https://github.com/nose-devs/nose/branches). I see that there is a successor — [nose2](https://github.com/nose-devs/nose2). I believe that it worth to at least update the readme and the description...
Related to https://github.com/nose-devs/nose/issues/446
in 1.1.2 multiprocess plugin used to execute generators in a different process, now it executes all generated tests in the same parent process.. unfortunately this is not desired behavior. The...
Nose version: 1.3.7 Python: 3.6 OS: Xenial Hi, We are having an issue highly reminiscent of [this one](https://github.com/nose-devs/nose/issues/92) when using the doctest flag. Adding said flag results in issues (not...
Hello, I am using nose for code coverage with bazel and tensorflow and the method that I found to work is to run "bazel test" and then run nosetests with...
The issue I'm experiencing seems to be pinpointed to the following lines of code: https://github.com/nose-devs/nose/blob/7c26ad1e6b7d308cafa328ad34736d34028c122a/nose/loader.py#L350-L352 Within the above if statement, I see `os.path.realpath(os.path.normcase(module_path))` when comparing to path, which is called...