testsuite in -0.4, FAILED (errors=12 or 15)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
testscenarios |
Invalid
|
Undecided
|
Unassigned |
Bug Description
Well, the README is fairly extensive. The setup.py just says
" install_requires = [
". I used nosetests to run them.
testscenarios-0.4 $ PYTHONPATH=. nosetests lib/testscenari
yields
Ran 28 tests in 0.019s
FAILED (errors=12)
with lots of
_StringException: Traceback (most recent call last):
File "/mnt/gen2/
class ReferenceTest(
File "/mnt/gen2/
if isinstance(
AttributeError: 'TestTestWithSc
and
ERROR: testscenarios.
-------
Traceback (most recent call last):
File "/usr/lib64/
self.
TypeError: load_tests() takes exactly 3 arguments (0 given)
=======
ERROR: Adapter test runner load hooks to call generate_scenarios.
-------
Traceback (most recent call last):
File "/usr/lib64/
self.
File "/usr/lib64/
return func(*arg, **kw)
File "/mnt/gen2/
if getattr(params[0], 'suiteClass', None) is not None:
IndexError: tuple index out of range
testscenarios-0.4 $ PYTHONPATH=. python lib/testscenari
yields a blank.
py.test doesn't work
So I presume here this is a case of assumed knowledge, again.
You assume I know how the testsuite is run. I tell you nosetests works for 99 out of a hundred so I ran it with nosetests and it yields as above with
PYTHONPATH=. nosetests lib/testscenari
and
FAILED (errors=15)
with
testscenarios-0.4 $ PYTHONPATH=. nosetests .
OR
does your testsuite in fact require a major overhaul? Do you wish for a comprehensive log output? Is above sufficient?
PYTHONPATH=./lib ${EPYTHON} -m testtools.run testscenarios. test_suite
fixed