Closed 4poc closed 6 years ago
It works as described for me on my Mac with Python 2.7 and 3.6.
$ green -vvvp test_djangorunner.py
Green 2.10.0, Coverage 4.3.4, Python 2.7.13
green.test.test_djangorunner
TestDjangoMissing
. Raises ImportError if Django is not available
TestDjangoRunner
. If no verbosity is passed, default value is set
. Ensure that the python manage.py test command recognises the --green-verbosity flag
. If no tests are found, we create an empty test suite and run it.
. If no tests are found, we create an empty test suite and run it.
. Bad input causes a ValueError to be raised
. Labeled tests run okay
. Not passing in a label causes the targets to be ['.']
. Tests should run fine if verbosity is passed through CLI flag
Ran 9 tests in 0.516s
OK (passes=9)
So...weird.
Do you have a public repository that has the problem that I can look at?
Nothing public unfortunately but I will try to put something up tomorrow that shows the issue, thanks for the quick response! 😁
No problem!
Please feel free to re-open this request if you are able to provide some code that exhibits the problem you described.
Maybe I misunderstood the docs but:
This does not seem to do anything:
this runs all tests as usual, but I want to constrain it to a particular file by name, should this not work?