MXUnit test launcher plugin for Sublime Text 2
Python
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.gitignore
Default (Linux).sublime-keymap
Default (OSX).sublime-keymap
Default (Windows).sublime-keymap
Main.sublime-menu
MxUnit.sublime-settings
README.md
launchTest.py
launchTestSuite.py

README.md

MXUnit Test Launcher Plugin for Sublime Text 2

Provides commands for launching the currently open file as an MXUnit test case (opens in browser) and for launching an MXUnit testsuite.

Settings

You can get to the settings through Preferences->Package Settings->MXUnit. Options are:

  • base_url: The root url for your tests, without trailing slash. e.g. http://localhost/tests
  • base_path: The root path on your machine that maps to the url, without trailing slash
  • test_suite: Url, relative to the base_url, for running a test suite, e.g. /TestSuite.cfm

Example Settings Configuration

{
    "base_url":"http://localhost",
    "base_path":"C:\\webroot\\webapp",
    "test_suite":"/webapp/test/TestSuite.cfm"
}

Commands

  • launch_test: Launches the current file as an MXUnit test in the browser (shift-alt-t)
  • launch_test_suite: Launches the test suite in the browser (shift-alt-s)

Windows Installation (XP, Vista & Windows 7)

  • Download and Unzip package from the GitHub project page
  • Create a folder in %AppData%\Sublime Text 2\Packages called "MxUnit"
  • Copy the contents of the unzipped folder to %AppData%\Sublime Text 2\Packages\MxUnit
  • Restart Sublime Text 2