nose2 Questions

2

Solved

I'm having trouble actually skipping a unit test from a Nose2 plugin. I am able to mark the test skipped and see the reason in the final result, but the test still runs. This example code should ba...
Oglethorpe asked 8/7, 2014 at 18:57

3

Solved

In previous version of Nose testing framework, there were several ways to specify only a subset of all tests: nosetests test.module nosetests another.test:TestCase.test_method nosetests a.test:Tes...
Figwort asked 26/7, 2013 at 20:4

3

I would like to skip some test functions when a condition is met, for example: @skip_unless(condition) def test_method(self): ... Here I expect the test method to be reported as skipped if cond...
Orthography asked 2/4, 2016 at 19:10

2

I have a nose.cfg file which i'm porting to nose2. I can't see any way in the nose2 docs to ignore a file or directory. In nose 1 this was done via these two flags: ignore-files=settings_test* ex...
Reconciliatory asked 24/11, 2013 at 20:37

2

Solved

According to the http://nose.readthedocs.io/en/latest all tests ... should consider using Nose2, py.test, or just plain unittest/unittest2. However, I can't seem to make Pycharm use it instea...
Transcript asked 21/2, 2018 at 18:4

1

Solved

When I run my tests that include calling a @classmethod using setuptools and nose2, the testing suite doesn't finish it just keeps on running. However I have checked that the test does indeed pass ...
Embayment asked 23/7, 2017 at 1:49

1

This is such a simple question, but I can't find it anywhere... how do I add color to the output of running tests with nose2? For example, I would like failures to show up as red.
Selectman asked 1/8, 2014 at 19:49

1

Solved

I would like to use nose2 with coverage plugin to get the coverage of a Python package but I'm have a hard time configuring it to cover only the package I'm working on. The package is called vimhdl...
Thirteen asked 1/1, 2016 at 23:7
1

© 2022 - 2024 — McMap. All rights reserved.