Closed naglalakk closed 9 years ago
Yes! If you don't like the default verbosity, set it in a config file. Either ~/.green
or set the environment variable GREEN_CONFIG
to point at the config file in another location.
For example, if you wanted green to default to verbosity of 3 when run on your account, you could create ~/.green
with the contents:
verbose = 3
Let me know if you have any problems.
It works very well :). Thank you very much and let me just add that this is one stellar test runner you have made :+1:
Thanks! Be sure to let your friends know so that they can start using it too! :-)
~ Nathan
On Mon, Dec 15, 2014 at 3:52 AM, Þórður Hermannssson < notifications@github.com> wrote:
It works very well :). Thank you very much and let me just add that this is one stellar test runner you have made [image: :+1:]
— Reply to this email directly or view it on GitHub https://github.com/CleanCut/green/issues/37#issuecomment-66977737.
@CleanCut Is there a way to set the verbosity directly from the command line when using manage.py
? For example, I often like to do a python manage.py test -v 2
. Is there a similar syntax for green
, say a python manage.py test --green-verbosity vv
?
@anomitra When I added the functionality, django had not provided any mechanism to pass arguments to the test runner, no.
You can, however, use a green config file to set your defaults differently.
a way to set the verbosity directly from the command line when using manage.py
@CleanCut I submitted a pull request implementing this functionality at #153, could you please review?
Is green's fine verbosity an option when running green as the default test runner for django? I tried but I got django's default v3 level, where showing you how it's setting up the test database is as verbose as it gets.