Home » Support » Index of All Documentation » Wing IDE Reference Manual » Command Reference »

Unit Testing Commands

Unit Testing Commands

Globally available commands defined for the unit testing manager. These commands are available regardless of whether a testing manager is visible or has keyboard focus.

abort-tests ()

Abort any running tests.

add-testing-file (add_current=False)

Add a file to the set of unit tests. Adds the current editor file if add_current=True. Otherwise, asks the user to select a file.

add-testing-files (locs=None)

Add a file or files to the set of unit tests. locs can be a list of filenames or locations or a single filename or location. Adds the current editor file if locs is None.

clear-test-results ()

Not documented

debug-all-tests ()

Debug all the tests in testing panel. Key Bindings: Wing IDE: Ctrl-Shift-F6; Brief: Ctrl-Shift-F6; Eclipse: Ctrl-Shift-F6; Emacs: Ctrl-Shift-F6; OS X: Command-Shift-F6; VI/VIM: Ctrl-Shift-F6; Visual Studio: Ctrl-Shift-F6; XCode: Command-Shift-F6

debug-clicked-tests ()

Runs the clicked test or tests, if possible. The tests are determined by the last clicked position in the active view.

debug-current-tests ()

Runs the current test or tests, if possible. The current tests are determined by the current position in the active view. Key Bindings: Wing IDE: Ctrl-Shift-F7; Brief: Ctrl-Shift-F7; Eclipse: Ctrl-Shift-F7; Emacs: Ctrl-Shift-F7; OS X: Command-Shift-F7; VI/VIM: Ctrl-Shift-F7; Visual Studio: Ctrl-Shift-F7; XCode: Command-Shift-F7

debug-failed-tests ()

Re-run all the previously failed tests in the debugger. Key Bindings: Wing IDE: Ctrl-Alt-F6; Brief: Ctrl-Alt-F6; Eclipse: Ctrl-Alt-F6; Emacs: Ctrl-Alt-F6; OS X: Command-Option-F6; VI/VIM: Ctrl-Alt-F6; Visual Studio: Ctrl-Alt-F6; XCode: Command-Option-F6

debug-last-tests ()

Debug the last group of tests that were run. Key Bindings: Wing IDE: Ctrl-Alt-F7; Brief: Ctrl-Alt-F7; Eclipse: Ctrl-Alt-F7; Emacs: Ctrl-Alt-F7; OS X: Command-Option-F7; VI/VIM: Ctrl-Alt-F7; Visual Studio: Ctrl-Alt-F7; XCode: Command-Option-F7

debug-selected-tests ()

Debug the tests currently selected in the testing panel.

debug-test-files (locs=None)

Debug the tests in the current editor. Uses the given file or files if locs is not None. The locations can be a list of filenames or locations or a single filename or location.

load-test-results (filename)

Load all test results from a file.

run-all-tests (debug=False)

Runs all the tests in testing panel. Key Binding: Shift-F6

run-clicked-tests (debug=False)

Runs the clicked test or tests, if possible. The tests are determined by the last clicked position in the active view. The tests are debugged when debug is True.

run-current-tests (debug=False)

Runs the current test or tests, if possible. The current tests are determined by the current position in the active view. The tests are debugged when debug is True. Key Binding: Shift-F7

run-failed-tests (debug=False)

Re-run all the previously failed tests. The tests are debugged when debug is True. Key Bindings: Wing IDE: Alt-F6; Brief: Alt-F6; Eclipse: Alt-F6; Emacs: Alt-F6; OS X: Option-F6; VI/VIM: Alt-F6; Visual Studio: Alt-F6; XCode: Option-F6

run-last-tests (debug=False)

Run again the last group of tests that were run. The tests are debugged when debug is True. Key Bindings: Wing IDE: Alt-F7; Brief: Alt-F7; Eclipse: Alt-F7; Emacs: Alt-F7; OS X: Option-F7; VI/VIM: Alt-F7; Visual Studio: Alt-F7; XCode: Option-F7

run-selected-tests (debug=False)

Run the tests currently selected in the testing panel. The tests are debugged when debug is True.

run-test-files (locs=None, debug=False)

Run or debug the tests in the current editor. Uses the given file or files instead if locs is not None. The locations list may be a list of locations or filenames or a single location or filename. The tests are debugged if debug=True.

save-all-test-results (filename)

Save all test results to a file.

scan-for-unittests (doc=None)

Scan or re-scan the current editor file for unittests

Subversion Commands

Subversion revision control system commands

svn-update (locs=<selected files>)

Update the selected files from the Subversion repository

svn-add ()

Add the files to %(label)s

svn-commit-project ()

Not documented

svn-revert ()

Revert selected files.

svn-project-status ()

View status for entire project.

svn-blame (locs=<selected files>)

Show blame / praise / annotate for selected files.

svn-diff ()

Show differences between files in working directory and last committed version.

svn-diff-recent (locs=<selected files>)

Show diffs for most recent checkin

svn-log (locs=<selected files>)

Show the revision log for the selected files in the Subversion repository

svn-configure ()

Show preferences page for selected VCS

svn-status ()

View status of the selected files in the working directory

svn-remove ()

Remove files

svn-update-project ()

Update files in project

svn-resolved (locs=<selected files>)

Indicate that any conflicts are resolved

svn-checkout ()

Start the initial checkout from svn repository. Repository and working directory must be entered before the checkout.

svn-commit ()

Commit selected files.

Git Commands

git revision control system commands

git-diff ()

Show differences between files in working directory and last committed version.

git-fetch-repository (locs=<selected files>)

Pull from repository.

git-remove ()

Remove files

git-list (locs=<selected files>)

Show the status of the given files in the git repository

git-commit-project ()

Not documented

git-project-status ()

View status for entire project.

git-pull-branch (locs=<selected files>)

Pull branch from other git repository

git-list-branches (locs=<selected files>)

List all branches

git-add ()

Add the files to %(label)s

git-log (locs=<selected files>)

Show the revision log for the selected files in the git repository

git-push-branch (locs=<selected files>)

Push branch to other git repository

git-commit ()

Commit selected files.

git-status ()

View status of the selected files in the working directory

git-switch-branch (locs=<selected files>)

Switch to another branch

git-configure ()

Show preferences page for selected VCS

git-blame (locs=<selected files>)

Show the annotated blame/praise for the selected files in the git repository

Bazaar Commands

Subversion revision control system commands

bzr-commit ()

Commit selected files.

bzr-add ()

Add the files to %(label)s

bzr-commit-project ()

Not documented

bzr-remove ()

Remove files

bzr-project-status ()

View status for entire project.

bzr-status ()

View status of the selected files in the working directory

bzr-push-entire-branch (locs=<selected files>)

Update the selected files from the bzr repository

bzr-log (locs=<selected files>)

Show the revision log for the selected files in the bzr repository

bzr-configure ()

Show preferences page for selected VCS

bzr-revert ()

Revert selected files.

bzr-merge-entire-branch (locs=<selected files>)

Update the selected files from the bzr repository

bzr-annotate ()

Show blame / praise / annotate for selected files.

bzr-diff ()

Show differences between files in working directory and last committed version.

C V S Commands

CVS revision control system commands

cvs-revert (locs=<selected files>)

Revert the selected files

cvs-log (locs=<selected files>)

Show the revision log for the selected files in the CVS repository

cvs-diff (locs=<selected files>)

Show the differences between working version of given files and the corresponding revision in the CVS repository

cvs-configure ()

Configure the CVS integration

cvs-project-status ()

Run status for entire project.

cvs-update (locs=<selected files>)

Update the selected files from the CVS repository

cvs-update-project ()

Update files in project

cvs-checkout ()

Start the initial checkout from cvs repository. Repository and working directory must be entered before the checkout.

cvs-add (locs=<selected files>)

Add the files to cvs

cvs-commit (locs=<selected files>)

Commit the selected files to the CVS repository

cvs-status (locs=<selected files>)

View the CVS repository status for the selected files

cvs-commit-project ()

Commit files in project

cvs-remove (locs=<selected files>)

Remove the selected files

Mercurial Commands

Mercurial revision control system commands

hg-diff ()

Show differences between files in working directory and last committed version.

hg-status ()

View status of the selected files in the working directory

hg-revert ()

Revert selected files.

hg-pull-entire-repository (locs=<selected files>)

Pull all changes from remote repository to local repository

hg-commit ()

Commit selected files.

hg-update (locs=<selected files>)

Update working directory from repository

hg-annotate (locs=<selected files>)

Show user and revision for every line in the file(s)

hg-configure ()

Show preferences page for selected VCS

hg-remove ()

Remove files

hg-add ()

Add the files to %(label)s

hg-log (locs=<selected files>)

Show the revision log for the selected files in the hg repository

hg-push-entire-repository (locs=<selected files>)

Update the selected files from the hg repository

hg-merge (locs=<selected files>)

Merge working directory with changes in repository

hg-commit-project ()

Not documented

hg-project-status ()

View status for entire project.

Perforce Commands

Perforce revision control system commands

perforce-log (locs=<selected files>)

Show the revision log for the selected files in the Perforce repository

perforce-blame (locs=<selected files>)

Show blame / praise / annotate for selected files.

perforce-status (locs=<selected files>)

View the Perforce repository status for the selected files

perforce-commit (locs=<selected files>)

Commit the selected files to the Perforce repository

perforce-remove (locs=<selected files>)

Remove the selected files

perforce-commit-project ()

Commit files in project

perforce-revert (locs=<selected files>)

Revert the selected files

perforce-add (locs=<selected files>)

Add the files to perforce

perforce-sync-project ()

Update files in project

perforce-sync (locs=<selected files>)

Copy the selected files from the Perforce repository

perforce-configure ()

Show preferences page for selected VCS

perforce-edit (locs=<selected files>)

Copy the selected files from the Perforce repository

perforce-project-status ()

Run status for entire project.

perforce-diff (locs=<selected files>)

Show the differences between working version of given files and the corresponding revision in the Perforce repository

perforce-resolved (locs=<selected files>)

Indicate that any conflicts are resolved

perforce-annotate ()

Show blame / praise / annotate for selected files.

Unit Testing Commands