summaryrefslogtreecommitdiff
path: root/machineout.py
Commit message (Collapse)AuthorAge
* Allow users to extend unittest.TestCase.Vincent Driessen2010-07-30
| | | | | | | | | | | | | When users extend their test cases with custom assert-methods (for example, def assertIsEmail(self, s)), for every test using that assertion, machineout now returns the line number inside the assertIsEmail method. This isn't useful, since you lose the information as to what particular test is failing. This patch solves that problem by skipping any methods that start with 'assert' when walking up the stack trace. And, yes, this assumes the convention that your unittest.TestCase extensions use the 'assert'-prefix, which would be a good naming convention anyway.
* Remove the file/method line from the machine output.Vincent Driessen2010-07-27
|
* Remove add_options method, since the variable it stores isn't used anywhere.Vincent Driessen2010-07-27
|
* PEP8ify more and removed unused "import re".Vincent Driessen2010-07-27
|
* Removing more unused doctests stuff. Making internal methods protected.Mike Crute2010-07-26
|
* Basic cleanup, removing unused code, re-organizing for clarity.Mike Crute2010-07-26
|
* Removing doctests support since I don't really like doctests.Mike Crute2010-07-26
|
* Pedantic PEP8 cleanup.Mike Crute2010-07-26
|
* Applying stack-frame selection patch from @nvieMike Crute2010-07-26
|
* Removed extra parameters from addError() and addFailure()Maciek Starzyk2010-01-02
|
* Initial importMike Crute2009-11-03