ctrl+shift+p filters: :st2 :st3 :win :osx :linux
Browse

Test​Cafe Test Runner

by churkin ST2/ST3

Plugin for working with TestCafe tests via SublimeText IDE.

Details

Installs

  • Total 157
  • Win 71
  • OS X 66
  • Linux 20
Oct 19 Oct 18 Oct 17 Oct 16 Oct 15 Oct 14 Oct 13 Oct 12 Oct 11 Oct 10 Oct 9 Oct 8 Oct 7 Oct 6 Oct 5 Oct 4 Oct 3 Oct 2 Oct 1 Sep 30 Sep 29 Sep 28 Sep 27 Sep 26 Sep 25 Sep 24 Sep 23 Sep 22 Sep 21 Sep 20 Sep 19 Sep 18 Sep 17 Sep 16 Sep 15 Sep 14 Sep 13 Sep 12 Sep 11 Sep 10 Sep 9 Sep 8 Sep 7 Sep 6 Sep 5
Windows 1 0 0 0 0 1 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
OS X 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 1 0 0 0 0 0
Linux 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0

Readme

Source
github.​com

<!DOCTYPE html>

testcafe-sublimetext/README.md at master · churkin/testcafe-sublimetext · GitHub
<meta property="og:image" content="https://avatars0.githubusercontent.com/u/5182202?s=400&amp;v=4" /><meta property="og:site_name" content="GitHub" /><meta property="og:type" content="object" /><meta property="og:title" content="churkin/testcafe-sublimetext" /><meta property="og:url" content="https://github.com/churkin/testcafe-sublimetext" /><meta property="og:description" content="Plugin for working with TestCafe tests via SublimeText IDE. - churkin/testcafe-sublimetext" />

<meta name="google-site-verification" content="KT5gs8h0wvaagLKAVWq8bbeNwnZZK1r1XQysX3xurLU">
<meta name="google-site-verification" content="ZzhVyEFwb7w3e0-uOTltm8Jsck2F5StVihD0exw2fsA">
<meta name="google-site-verification" content="GXs5KoUUkNCoaAZn7wPN-t01Pywp9M3sEjnt_3_ZWPc">

<meta name="google-analytics" content="UA-3769691-2">

<meta name="hostname" content="github.com">
<meta name="user-login" content="">

  <meta name="expected-hostname" content="github.com">
<meta name="js-proxy-site-detection-payload" content="MDEwODEwOWNiMDEyMWQxZjNjMTk0YWYwODI3N2JlZTRhNzQ5MWMxYTBiNzIyMjAxZmQ1YzVhNjk5NDE0NDQwZXx7InJlbW90ZV9hZGRyZXNzIjoiNTAuMTE2LjMzLjI5IiwicmVxdWVzdF9pZCI6IkIxQjQ6NEU1MToyOEY5MUYzOjRDNTdGODQ6NUJDQTM0MEIiLCJ0aW1lc3RhbXAiOjE1Mzk5NzgyODMsImhvc3QiOiJnaXRodWIuY29tIn0=">

<meta name="enabled-features" content="DASHBOARD_V2_LAYOUT_OPT_IN,EXPLORE_DISCOVER_REPOSITORIES,UNIVERSE_BANNER,MARKETPLACE_PLAN_RESTRICTION_EDITOR">

<link href="https://github.com/churkin/testcafe-sublimetext/commits/master.atom" rel="alternate" title="Recent Commits to testcafe-sublimetext:master" type="application/atom+xml">

<link rel="canonical" href="https://github.com/churkin/testcafe-sublimetext/blob/master/README.md" data-pjax-transient>

Skip to content

</div>

<div class="HeaderMenu d-flex flex-justify-between flex-auto">
    <nav class="mt-0">
      <ul class="d-flex list-style-none">
          <li class="ml-2">
            <a class="js-selected-navigation-item HeaderNavlink px-0 py-2 m-0" data-ga-click="Header, click, Nav menu - item:features" data-selected-links="/features /features/project-management /features/code-review /features/project-management /features/integrations /features" href="/features">
              Features

  • Business
  • <li class="ml-4">
                <a class="js-selected-navigation-item HeaderNavlink px-0 py-2 m-0" data-ga-click="Header, click, Nav menu - item:explore" data-selected-links="/explore /trending /trending/developers /integrations /integrations/feature/code /integrations/feature/collaborate /integrations/feature/ship showcases showcases_search showcases_landing /explore" href="/explore">
                  Explore
    

    <li class="ml-4">
                    <a class="js-selected-navigation-item HeaderNavlink px-0 py-2 m-0" data-ga-click="Header, click, Nav menu - item:marketplace" data-selected-links=" /marketplace" href="/marketplace">
                      Marketplace
    

  • Pricing
  • <div class="d-flex">
          <div class="d-lg-flex flex-items-center mr-3">
            <div class="header-search scoped-search site-scoped-search js-site-search position-relative js-jump-to"
    

    role=“combobox” aria-owns=“jump-to-results” aria-label=“Search or jump to” aria-haspopup=“listbox” aria-expanded=“false”

    </div>
    
        <span class="d-inline-block">
            <div class="HeaderNavlink px-0 py-2 m-0">
              <a class="text-bold text-white no-underline" href="/login?return_to=%2Fchurkin%2Ftestcafe-sublimetext%2Fblob%2Fmaster%2FREADME.md" data-ga-click="(Logged out) Header, clicked Sign in, text:sign-in">Sign in</a>
                <span class="text-gray">or</span>
                <a class="text-bold text-white no-underline" href="/join?source=header-repo" data-ga-click="(Logged out) Header, clicked Sign up, text:sign-up">Sign up</a>
            </div>
        </span>
      </div>
    </div>
    

    <div id="js-flash-container">
    

    <ul class="pagehead-actions">
    

  • Watch

  • Star
    <a class="social-count js-social-count" href="/churkin/testcafe-sublimetext/stargazers"
      aria-label="11 users starred this repository">
      11
    </a>
    

  • Fork
    <a href="/churkin/testcafe-sublimetext/network/members" class="social-count"
       aria-label="3 users forked this repository">
      3
    </a>
    

  • <h1 class="public ">
    

    /testcafe-sublimetext

    </div>
    

    Code

    <span itemscope itemtype="http://schema.org/ListItem" itemprop="itemListElement">
      <a itemprop="url" data-hotkey="g i" class="js-selected-navigation-item reponav-item" data-selected-links="repo_issues repo_labels repo_milestones /churkin/testcafe-sublimetext/issues" href="/churkin/testcafe-sublimetext/issues">
        <svg class="octicon octicon-issue-opened" viewBox="0 0 14 16" version="1.1" width="14" height="16" aria-hidden="true"><path fill-rule="evenodd" d="M7 2.3c3.14 0 5.7 2.56 5.7 5.7s-2.56 5.7-5.7 5.7A5.71 5.71 0 0 1 1.3 8c0-3.14 2.56-5.7 5.7-5.7zM7 1C3.14 1 0 4.14 0 8s3.14 7 7 7 7-3.14 7-7-3.14-7-7-7zm1 3H6v5h2V4zm0 6H6v2h2v-2z"/></svg>
        <span itemprop="name">Issues</span>
        <span class="Counter">3</span>
        <meta itemprop="position" content="2">
    

    Pull requests 0

    <a data-hotkey="g b" class="js-selected-navigation-item reponav-item" data-selected-links="repo_projects new_repo_project repo_project /churkin/testcafe-sublimetext/projects" href="/churkin/testcafe-sublimetext/projects">
      <svg class="octicon octicon-project" viewBox="0 0 15 16" version="1.1" width="15" height="16" aria-hidden="true"><path fill-rule="evenodd" d="M10 12h3V2h-3v10zm-4-2h3V2H6v8zm-4 4h3V2H2v12zm-1 1h13V1H1v14zM14 0H1a1 1 0 0 0-1 1v14a1 1 0 0 0 1 1h13a1 1 0 0 0 1-1V1a1 1 0 0 0-1-1z"/></svg>
      Projects
      <span class="Counter" >0</span>
    

    Insights

    Permalink
    <div class="BtnGroup float-right">
        <a href="/churkin/testcafe-sublimetext/find/master"
              class="js-pjax-capture-input btn btn-sm BtnGroup-item"
              data-pjax
              data-hotkey="t">
          Find file
        </a>
        <clipboard-copy for="blob-path" class="btn btn-sm BtnGroup-item">
          Copy path
        </clipboard-copy>
      </div>
      <div id="blob-path" class="breadcrumb">
        <span class="repo-root js-repo-root"><span class="js-path-segment"><a data-pjax="true" href="/churkin/testcafe-sublimetext"><span>testcafe-sublimetext</span></a></span></span><span class="separator">/</span><strong class="final-path">README.md</strong>
      </div>
    </div>
    
    
    <include-fragment src="/churkin/testcafe-sublimetext/contributors/master/README.md" class="commit-tease commit-loader">
      <div>
        Fetching contributors&hellip;
      </div>
    
      <div class="commit-tease-contributors">
          <img alt="" class="loader-loading float-left" src="https://assets-cdn.github.com/images/spinners/octocat-spinner-32-EAF2F5.gif" width="16" height="16" />
        <span class="loader-error">Cannot retrieve contributors at this time</span>
      </div>
    

    <div class="file ">
      <div class="file-header">
    

    <div class="BtnGroup">
      <a id="raw-url" class="btn btn-sm BtnGroup-item" href="/churkin/testcafe-sublimetext/raw/master/README.md">Raw</a>
        <a class="btn btn-sm js-update-url-with-hash BtnGroup-item" data-hotkey="b" href="/churkin/testcafe-sublimetext/blame/master/README.md">Blame</a>
      <a rel="nofollow" class="btn btn-sm BtnGroup-item" href="/churkin/testcafe-sublimetext/commits/master/README.md">History</a>
    </div>
    
    
        <button type="button" class="btn-octicon disabled tooltipped tooltipped-nw"
          aria-label="You must be signed in to make or propose changes">
          <svg class="octicon octicon-pencil" viewBox="0 0 14 16" version="1.1" width="14" height="16" aria-hidden="true"><path fill-rule="evenodd" d="M0 12v3h3l8-8-3-3-8 8zm3 2H1v-2h1v1h1v1zm10.3-9.3L12 6 9 3l1.3-1.3a.996.996 0 0 1 1.41 0l1.59 1.59c.39.39.39 1.02 0 1.41z"/></svg>
        </button>
        <button type="button" class="btn-octicon btn-octicon-danger disabled tooltipped tooltipped-nw"
          aria-label="You must be signed in to make or propose changes">
          <svg class="octicon octicon-trashcan" viewBox="0 0 12 16" version="1.1" width="12" height="16" aria-hidden="true"><path fill-rule="evenodd" d="M11 2H9c0-.55-.45-1-1-1H5c-.55 0-1 .45-1 1H2c-.55 0-1 .45-1 1v1c0 .55.45 1 1 1v9c0 .55.45 1 1 1h7c.55 0 1-.45 1-1V5c.55 0 1-.45 1-1V3c0-.55-.45-1-1-1zm-1 12H3V5h1v8h1V5h1v8h1V5h1v8h1V5h1v9zm1-10H2V3h9v1z"/></svg>
        </button>
    

    46 lines (30 sloc) 2.63 KB

    TestCafe Test Runner for SublimeText

    Demo

    TestCafe is a pure Node.js end-to-end framework for testing web apps. This plugin allows you to run TestCafe tests directly from your SublimeText editor. Tests results will be displayed in a separate panel.

    Requirements

    This plugin requires that TestCafe is installed globally on your machine. For instructions on how to install TestCafe, refer to the Installing TestCafe article.

    How to install

    You can install the TestCafe Test Runner plugin like any other SublimeText plugin, as described in SublimeText documentation.

    How it works

    Initialization

    During initialization, the plugin detects browsers installed on your machine. The TestRunner plugin generates new items in the context menu for each installed browser. These items allow you to run tests in a selected browser.

    Editor context menu

    Running a particular test

    To run a particular test, you should place the cursor within the test body and select the required browser from the context menu.

    Running tests of a particular test fixture

    To run all the tests from a particular test fixture, place the cursor in this fixture (but outside of a test body), and select the required browser from the context menu.

    Running all the tests from a test file

    To run all the tests from the current file, invoke a context menu when the cursor is placed outside of any fixture, and select the required browser from the context menu. You can also run all tests in a file using the side bar context menu.

    Side bar context menu

    Rerunning previous tests

    If you need to run the same set of tests you ran previously, invoke the context menu and select the Rerun Previous Tests item.

    View results

    You can view test execution results in a special panel opened using the Ctrl+Alt+L shortcut.

    Tests result

    Commands and shortcuts

    • Run in chrome (firefox, ie) (CTRL+ALT+1,2,3…) - runs a test or fixture at the cursor position in the required browser.
    • Rerun previous tests (CTRL+ALT+P) - reruns a set of tests that was run previously.
    • Show output panel (CTRL+ALT+L) - opens the TestCafe output panel.
    • Refresh browser list – forces plugin reinitialization. When initialized, plugin detects all the installed browsers. Use this command to update browser list when you have installed or uninstalled a browser.

    Commands

    </div>
    

    </div>
    

    You can’t perform that action at this time.
    <script crossorigin="anonymous" integrity="sha512-BlCeoZU+kjn7xucWZBcl0n4Bn0P8dE19/sUfLHOxySQnsoy3ufEzapurMbZWSlwab5KGfnp1X5ipJvUDMLroqw==" type="application/javascript" src="https://assets-cdn.github.com/assets/compat-0f98b12d09f3ba331eef956ab02996e3.js"></script>
    <script crossorigin="anonymous" integrity="sha512-MvNlmXbTAwL0N0zMxw8W6vtjWLf0QFvwVzvN8rZIJNdzFy9OJp2d4LQD9WA2rDNcHewz0PB9x/0G0Z9FOuUWgw==" type="application/javascript" src="https://assets-cdn.github.com/assets/frameworks-a2f69f341e3df821fdcb56e335ef9920.js"></script>
    
    <script crossorigin="anonymous" async="async" integrity="sha512-pQ4ATl4Uz7JtfEnBkjxaJ+bfoNBSPWPKkxvxnpC+fxXTzlcMO3DGtv013GSWc33pgZZxRsdAwzVDFlRAIX6hPg==" type="application/javascript" src="https://assets-cdn.github.com/assets/github-6b0a1477992f30b3a934acf5a815b53a.js"></script>
    

    You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.

    Press h to open a hovercard with more details.