logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

unit2 - a shorthand for python -m unittest2

Author

Command Line Options

-h,--help
              show this help message and exit

       -v,--verbose
              Verbose output

       -q,--quiet
              Quiet output

       -f,--failfast
              Stop on first fail or error

       -c,--catch
              Catch ctrl-C and display results so far

       -b,--buffer
              Buffer stdout and stderr during tests

Description

       The  unit2  script  is  a convenient shortcut for discovering and running tests in a given body of Python
       source code.

Examples

unit2test_module
              run tests from test_moduleunit2module.TestClass
              run tests from module.TestClassunit2module.Class.test_method
              run specified test method

Name

       unit2 - a shorthand for python -m unittest2

Synopsis

unit2 [ -h ] [ -v ] [ -q ] [ -f ] [ -c ] [ -b ] [ tests[tests...]  ]

See Also