summaryrefslogtreecommitdiff
path: root/bin
Commit message (Collapse)AuthorAgeFilesLines
* fix 2b1382b96eb4 by enabling DeprecationWarning onlyPierre-Yves David2012-03-151-1/+4
| | | | | | | | The changeset above intended to only display DeprecationWarning. But it also enables ImportWarning. There is a lot of ImportWarning and most of them are useless. This changeset only enable DeprecationWarning and keep ImportWarning quiet
* pytest should have default warning policySylvain Th?nault2011-09-061-1/+1
|
* fix .bat files as suggested by Okko Willeboords to all space in file namesSylvain Thenault2008-10-151-1/+1
|
* getpwname -> getpwnamSylvain2008-02-251-1/+1
|
* stop modifying sys.pathSylvain2008-01-231-7/+0
|
* remove empty string and current working directory from sys.pathAlexandre Fayolle2007-06-041-0/+8
| | | | Otherwise, pycoverage crashes when run in the rql directory, because it of conflicting modules (parser)
* pytest improvementsAdrien Di Mascio2007-03-072-74/+4
| | | | | | | | | | | | | | | - bin/pytes{.bat} are now classic python 2-liners scripts - pytest now only uses testlib.unittest_main() (in batch mode) instead of testlib.main() - pytest has its own options which are pased to unittest_main Note: pytest options are handled with optarse which means options can be passed **after** testfile name ! Typical usages: $ pytest $ pytest mytestfile.py $ pytest mytestfile.py -x testpattern $ pytest -t mytestdir -xi
* made pytest able to test a single file.adim2007-03-061-9/+43
| | | | | | | | One advantage is that the testfile being tested does not need to be based on logilab.common.testlib. pytest will happily monkeypatch unittest (and doctest) to use lgc.testlib classes instead of standard ones.
* make pytest browse recursively the current directory to find testsAdrien Di Mascio2006-10-101-9/+21
|
* added pytest.bat for windows installationSylvain2006-10-021-0/+29
|
* add command pytest that will find and run project's testsNicolas Chauvat2006-08-131-0/+15