CleanCut / green

Green is a clean, colorful, fast python test runner.
MIT License
793 stars 75 forks source link

[FEATURE] Added --green-verbosity flag for Django test runner #153

Closed anomitra closed 7 years ago

anomitra commented 7 years ago

Sample usage python manage.py test --green-verbosity 2

coveralls commented 7 years ago

Coverage Status

Coverage decreased (-0.3%) to 99.679% when pulling 8956b7da518fe4e30ef19404dbd28bad31543e1a on anomitra:master into 75bd40fa02e011c3f9674ebc27007a462760ea3a on CleanCut:master.

coveralls commented 7 years ago

Coverage Status

Coverage decreased (-0.1%) to 99.893% when pulling e0b2b125a7c5c441ec38a9f764c0c77e270cf29b on anomitra:master into 75bd40fa02e011c3f9674ebc27007a462760ea3a on CleanCut:master.

CleanCut commented 7 years ago

Sweet mother of mayhem! It was that easy? Thanks!

I only need one more thing before I can run sanity checks and merge:

If you can go ahead and do that, I'll put together an expedited release for you. If not, I'll write test(s) myself the next time I'm doing a release and include this with it.

coveralls commented 7 years ago

Coverage Status

Coverage remained the same at 100.0% when pulling 11ff5ada868a4669b4dbc40d0c7b2b4ae8044f12 on anomitra:master into 75bd40fa02e011c3f9674ebc27007a462760ea3a on CleanCut:master.

anomitra commented 7 years ago

Hey, I've added some tests to check if the functionality is working as it should! I also fixed a bug which I had inadvertently introduced, wherein the value of verbosity from the .green or GREEN_CONFIG was being overriden by the default value of verbosity, i.e verbosity=1 in case the flag is not passed -- which is an anomalous behaviour.

I've also taken the liberty to add a few descriptive docstrings to test cases which lacked them :smile: Feel free to review and discard them if not appropriate.

CleanCut commented 7 years ago

Looks great!

CleanCut commented 7 years ago

This is included in 2.7.0, just released.