1. Jason Pellerin
  2. unittest2
  3. Branches

Branches

plugins

View source
plugins
  • Contributors
    1. Loading...
Author Commit Message Date Builds
jpellerin
Merged upstream
Michael Foord
bit.ly shrink link to 2.3 to un-confuse pip
jpellerin
Merged upstream
Michael Foord
Making the moduleloading plugin more modular
Michael Foord
Description update
Michael Foord
Adding loadPlugin to the list of names exported by unittest2. Adding the plugins-dir plugin.
jpellerin
Merged upstream
Michael Foord
excluded plugins set is put in config
Michael Foord
Check lib directory before src directory in test discovery
Michael Foord
Support more common package layouts for test discovery.
Michael Foord
Changing default start directory to be None and let discovery set default of '.'
Michael Foord
moduleloading plugin can now handle loading individual generator / params tests by index. If loading tests from a generator raises an exception a failing test is created rather than halting the test run. The filter plugin filters the entire test suite at start of test run.
jpellerin
Merged upstream
jpellerin
Updated moduleloading plugin to allow loading of test functions by name
jpellerin
Updated moduleloading plugin to allow loading of test functions by name
jpellerin
Merged upstream
Michael Foord
Fix issue with the report events.
jpellerin
Merged upstream
Michael Foord
Fixes missing from last checkin
Michael Foord
Adding afterSummaryReport and beforeSummaryReport events Renaming StopTestEvent to TestReport
jpellerin
Merged upstream
Michael Foord
Removing configs and userConfig parameters from main and allowing a single extra config instead
jpellerin
Merged upstream
Michael Foord
Addition of configs and userConfig parameters to main function
Michael Foord
Addition of parameterised tests to moduleloading plugin
jpellerin
Merged upstream
Michael Foord
Updated descriptions.txt
Michael Foord
getTestCaseNames event has access to isTestMethod moduleloading plugin also provides test generators config section and command line switch for loading test functions changed
jpellerin
Merged upstream
Michael Foord
Change to moduleloading plugin to use Plugin class
Michael Foord
Updating description and wing project file.
Michael Foord
Update to descriptions.txt
Michael Foord
Accessing a non-existent config file section now creates it in the data structure rather than just returning a detached Section
Michael Foord
loadPlugins works even after all the other plugins have loaded (temporarily sets Register.autoRegister to True)
jpellerin
Added profiler plugin
jpellerin
Fixed DEFAUT vs RETURN_DEFAULT check
jpellerin
Revised and renamed errormaster
jpellerin
Revised outcomes plugin
jpellerin
Merged upstream
jpellerin
Set skipreason
Michael Foord
Enhance regex plugin to allow setting regex in config file executeTests attribute on startTestRun event excluded-plugins support in config file
Michael Foord
Adding clean method to StopTestEvent
Michael Foord
TextTestRunner uses the new reports for generating its summary at the end Adding back the add* methods to TextTestResult Changed result.wasSuccessful to use the new reports Changed the junit-xml to not crash if ElementTree is not available Added setOutcome method and standardOutcome to StopTestEvent
Michael Foord
Merging junit-xml plugin from ambv
Łukasz Langa
plugin development, work in progress
Łukasz Langa
change the plugin implementation to use xml.etree
Michael Foord
stopTest event now has much more information available TestResult has new addReport method using StopTestEvent instances Test reporting uses the new reports instead of old methods _WritelnDecorator has a write method so that writes go through the message API TextTestResult no longer needs the copious add* methods
Michael Foord
Updating description.txt
Michael Foord
Update to descriptions.txt
Michael Foord
The TextTestResult now uses runner.message to send messages when used from a TextTestRunner
Michael Foord
Modify runner to use message rather than writing to stream directly
Michael Foord
Whitespace cleanup and adding MessageEvent to __all__
Michael Foord
Adding message event and logchannels plugin
Michael Foord
Fix counttests plugin to work with the unittest2 test suite
Michael Foord
Minor tweak to counttests plugin
Michael Foord
Enhancing counttests plugin. Plugin auto-registration is disabled after plugin loading has completed.
Michael Foord
Adding a counttests plugin
Michael Foord
Updating the issues section of descriptions.txt
Michael Foord
Allowing strings 'quiet', 'normal' and 'verbose' to be used as well as 0, 1, 2 for specifying verbosity.
jpellerin
Updated testid plugin to use event.message
jpellerin
Merged upstream
Michael Foord
Updates to the open issues in descriptions.txt.
Michael Foord
Updates to the open issues in descriptions.txt.
Michael Foord
Adding a note about how options are set.
Michael Foord
Moving some config related info into the config section of descriptions.txt and adding a code example for checking verbosity
Michael Foord
Exporting plugin related names at the top level
Michael Foord
Reorganise the "todo" part of descriptions.txt to keep all the real issues at the top.
Michael Foord
Command line options and config unified
Michael Foord
unittest options are set in the config file
Michael Foord
Refactoring config module out of events module
Michael Foord
Further refactoring of Section methods for config file access
Michael Foord
Updating description.txt
Michael Foord
Whitespace change and minor tinkering
Michael Foord
Refactoring of Section for addition of as_tri method.
Michael Foord
Additions to config file
Michael Foord
Adding the 'timed' plugin
Michael Foord
Fixing the messaging API.
Michael Foord
Now safe to call Plugin.unregister multiple times.
Michael Foord
Adding time to BeforeTearDownEvent contructor
Michael Foord
Refactoring firing the afterSetUp event and updating the description Adding time to afterSetUp and beforeTearDown events
Michael Foord
Adding afterSetUp and beforeTearDown events.
Michael Foord
onTestFail event is now called for 'internal' exceptions like skips and can also supress / modify the exception
Michael Foord
Adding method to events and a default verbosity of (1, 2) to the messaging APIs.
Michael Foord
Adding messaging API to TextTestRunner and runner module. Removing PLUGINS.txt - canonical location for changes / issues for plugins is descriptions.txt.
jpellerin
Merged upstream (fixes id output position)
Michael Foord
startTest event now fired before result.startTest is called
jpellerin
Merged upstream
Michael Foord
Update description of loadTestsFromName and loadTestsFromNames events.
Michael Foord
loadTestFromName and loadTestsFromNames events can modify the name / names
jpellerin
Partially working testid plugin (no --failed support yet, ids printed in wrong order)
jpellerin
Merged upstream
Michael Foord
Simplification to matchregexp plugin
Michael Foord
Ignoring another file.
Michael Foord
Adding separate config file options for pep8 and pyflakes in the checker plugin.
Michael Foord
Update to TODO and description
Michael Foord
Changes to description and TODO
Michael Foord
Handling getTestCaseNames event still allows extraNames to be added, along with test sorting
Michael Foord
Various events can now return None when they are handled. Plugins are loaded from a set rather than a list to avoid duplicates Bug fixed in the getTestCaseNames event Further work on the plugin system description.
Michael Foord
Fixed bug in combining plugins from multiple config files Initial checkin of description of plugin system Adding default values to loadConfig and loadPlugins
Michael Foord
Update to debugger plugin and the TODO list.
Michael Foord
TODO update.
Michael Foord
Removed plugin initialise function support. Correct place to do initialisation is in pluginsLoaded event.
Michael Foord
Adding annotate support to the coverage plugin
Michael Foord
Further improvements to checker plugin
Michael Foord
Fix loading tests from module name.
Michael Foord
Improvements to checker plugin
Michael Foord
.formatTraceback method added to TestCase Default implementation for formatting tracebacks added to util module If a test has a formatTraceback method it will be used by the TestResult (defaulting to util.formatTraceback) checker plugin tests provide a formatTraceback method
Michael Foord
FunctionTestCase.id() includes function module name as well as test
Michael Foord
Fixed problem where event handlers remove themselves whilst an event is being fired Code path when plugins are disabled is more robust Removed some old compatibility code
Michael Foord
Adding a unique id to the tests added by the checker plugin. Change the default configuration for the coverage plugin in unittest.cfg
Michael Foord
Fix for Python 2.4 compatibility for optparse code.
Michael Foord
unit2 can handle --no-plugins along with other options Fix in coverage plugin Fix for plugin callbacks Option parsers are now destroyed after use
Michael Foord
Changed coverage plugin to use Plugin class. Fixed issue with StopTestEvent in TestCase cleanups (incorrect arguments).
Michael Foord
Whitespace changes. Providing default class attributes on Plugin Changing the way callabacks are created for command line options Changing the short option for junit-xml (from J to X)
Michael Foord
Bugfix for plugin registration.
Michael Foord
Adding skipReason to StopTestEvent
Michael Foord
Whitespace changes
Michael Foord
Simplify initial module loading in TestProgram.__init__
Michael Foord
Test discovery tests all pass again.
Michael Foord
Another test discovery test fix.
Michael Foord
Another fix for test discovery and one more test now passes.
Michael Foord
First step towards fixing discovery tests and bugfix for test discovery
Michael Foord
Fix always-on registration issue in Plugin.__new__
jpellerin
Added example error class plugin. Very different from the one in nose, but it has most of the same features (and the others look possible)
jpellerin
Removed FIXME
jpellerin
Added attrib plugin and some attribs demonstrating a strange result
Michael Foord
runnerCreated event added
Michael Foord
Broken tests but better command line handling. Can now disable plugins or specify alternative config file locations at the command line.
Michael Foord
unit2 test runner script can now run filenames as well as modules (so long as they are importable from current directory). The HandleFile event is raised so, for example, the doctest plugin can execute doctests from unit2.
Michael Foord
Making test discovery the default behaviour when the test runner script is launched without args.
Michael Foord
Progress in junit xml generation
Michael Foord
Initial start on junitxml plugin and fix for StopTestRunEvent
Michael Foord
Whitespace and name changes
Michael Foord
Plugins can provide commandLineSwitch and configSection attributes for default hooking up
Michael Foord
stopTestRun moved into TestRunner.run finally block.
Michael Foord
TestCase.run now calls the startTest and stopTest events appropriately.
Michael Foord
Adding command line options for checker, doctest and functions as tests plugins Allowing discovery only command line options to be added
Michael Foord
Removing unused import
Michael Foord
Adding testcase test method name filtering plugin Moved the plugins loaded event so that it works Wired in the getTestCaseNames event and added excludedNames
Michael Foord
Moving comments
Michael Foord
Created util function getObjectFromName Added several new events around loading tests HandleFileEvent uses extraTests pattern rather than completed
Michael Foord
Adding as_str to config Section API.
Michael Foord
Changed growl plugin to use class based plugin mechanism.
Michael Foord
Added a class based plugin mechanism layered on hooks Plugins subclass Plugin Switched debugger plugin to use the class based system.
Michael Foord
Simplified checker test cases in checker plugin
Michael Foord
checker plugin added using pep8 and pyflakes
Michael Foord
Moved getSource to unittest2.util module. Added extraTests attribute to LoadFromModuleEvent HandleFileEvent can now specify whether the file has been completely or only partially handled
Michael Foord
testFail event is not raised for skipped tests
Michael Foord
testFail event raised on error in setUp / tearDown and cleanUp as well as test call
Michael Foord
Adding license note to growl plugin.
Michael Foord
Remove the argumentsParsed event...
Michael Foord
Removed unused imports
Michael Foord
Example Growl plugin using testRunStart and testRunStop
Michael Foord
Improvement in coverage plugin. addOption can now take a list as a way of specifying options that take values.
Michael Foord
Minor tweaks.
Michael Foord
Adding --version option to unit2 script. Changing version number to 0.6.0 alpha Ignoring .coverage directory.
Michael Foord
Restoring -q/--quiet option and ignoring .coverage directory.
Michael Foord
Better usage message. Improvements to coverage plugin. Adding defaults to Section.as_* methods. Adding Section.as_list for multiline config values.
Michael Foord
Adding unittest config file. Improving coverage plugin.
Michael Foord
Adding support for initialise functions to plugins. Improved TestRunStart/Stop events. More work on coverage plugin.
Michael Foord
Minor refactoring of coverage plugin
Michael Foord
Initial implementation of coverage plugin.
Michael Foord
Addition of setUp and tearDown decorators to moduleloading extension.
Michael Foord
getConfig, for plugins, can now return a specific section (or empty dict) and Section.as_bool can take a default for missing keys.
Michael Foord
debugger plugin and onTestFail event
Michael Foord
Remove irrelevant tests
Michael Foord
Remove use of getopt for argument parsing.
Michael Foord
Loading tests as functions extension
Michael Foord
Start of module loading hook point and extension.
Michael Foord
Rename events class to hooks, for holding extension points.
Michael Foord
Changing UsefulDict to Section for representing config file sections.
Michael Foord
unittest.cfg always loaded from current directory. Global config file now supported. matchregexp plugin supports always-on and full-path options.
Michael Foord
Simplifying default pattern for regexp filename matching.
Michael Foord
Adding and enabling regexp matching plugin and matchPath event.
Michael Foord
Adding support for command line options for plugins.
Michael Foord
Added event.handled for handling events instead of relying on return values.
Michael Foord
Rename HandleFile to handleFile and removed use of deque for Python 2.4 compatibility.
Michael Foord
Testing HandleFileEvent event is raised correctly
Michael Foord
Adding top level directory to HandleFileEvent
Michael Foord
Fix events test
Michael Foord
Initial events prototype.