Code Monkey home page Code Monkey logo

Comments (6)

CleanCut avatar CleanCut commented on May 17, 2024 1

@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.

from green.

CleanCut avatar CleanCut commented on May 17, 2024

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.

from green.

naglalakk avatar naglalakk commented on May 17, 2024

It works very well :). Thank you very much and let me just add that this is one stellar test runner you have made ๐Ÿ‘

from green.

CleanCut avatar CleanCut commented on May 17, 2024

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 <
[email protected]> 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: ๐Ÿ‘]

โ€”
Reply to this email directly or view it on GitHub
#37 (comment).

from green.

anomitra avatar anomitra commented on May 17, 2024

@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?

from green.

anomitra avatar anomitra commented on May 17, 2024

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?

from green.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.