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

  • 0.1.10
  • github.​com
  • github.​com
  • 12 months ago
  • 21 minutes ago
  • 1 year ago

Installs

  • Total 106
  • Win 44
  • OS X 46
  • Linux 16
Jan 23 Jan 22 Jan 21 Jan 20 Jan 19 Jan 18 Jan 17 Jan 16 Jan 15 Jan 14 Jan 13 Jan 12 Jan 11 Jan 10 Jan 9 Jan 8 Jan 7 Jan 6 Jan 5 Jan 4 Jan 3 Jan 2 Jan 1 Dec 31 Dec 30 Dec 29 Dec 28 Dec 27 Dec 26 Dec 25 Dec 24 Dec 23 Dec 22 Dec 21 Dec 20 Dec 19 Dec 18 Dec 17 Dec 16 Dec 15 Dec 14 Dec 13 Dec 12 Dec 11 Dec 10
Windows 0 0 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 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
OS X 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 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 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 1 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 content="https://avatars0.githubusercontent.com/u/5182202?s=400&amp;v=4" property="og:image" /><meta content="GitHub" property="og:site_name" /><meta content="object" property="og:type" /><meta content="churkin/testcafe-sublimetext" property="og:title" /><meta content="https://github.com/churkin/testcafe-sublimetext" property="og:url" /><meta content="testcafe-sublimetext - Plugin for working with TestCafe tests via SublimeText IDE." property="og:description" />

<meta name="google-site-verification" content="KT5gs8h0wvaagLKAVWq8bbeNwnZZK1r1XQysX3xurLU">

<meta name="hostname" content="github.com">

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

<meta name="enabled-features" content="UNIVERSE_BANNER,FREE_TRIALS">

<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
<header class="Header header-logged-out  position-relative f4 py-3" role="banner">

</div>

<div class="HeaderMenu HeaderMenu--bright d-flex flex-justify-between flex-auto">
    <nav class="mt-0">
      <ul class="d-flex list-style-none">
          <li class="ml-2">
            <a href="/features" 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">
              Features

  • Business
  • <li class="ml-4">
                <a href="/explore" 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">
                  Explore
    

    <li class="ml-4">
                    <a href="/marketplace" 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">
                      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" role="search">
    

    </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="9 users starred this repository">
      9
    </a>
    

  • Fork
    <a href="/churkin/testcafe-sublimetext/network" 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 href="/churkin/testcafe-sublimetext/issues" class="js-selected-navigation-item reponav-item" data-hotkey="g i" data-selected-links="repo_issues repo_labels repo_milestones /churkin/testcafe-sublimetext/issues" itemprop="url">
        <svg aria-hidden="true" class="octicon octicon-issue-opened" height="16" version="1.1" viewBox="0 0 14 16" width="14"><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">2</span>
        <meta itemprop="position" content="2">
    

    Pull requests 0

    <a href="/churkin/testcafe-sublimetext/projects" class="js-selected-navigation-item reponav-item" data-hotkey="g b" data-selected-links="repo_projects new_repo_project repo_project /churkin/testcafe-sublimetext/projects">
      <svg aria-hidden="true" class="octicon octicon-project" height="16" version="1.1" viewBox="0 0 15 16" width="15"><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>
      <button aria-label="Copy file path to clipboard" class="js-zeroclipboard btn btn-sm BtnGroup-item tooltipped tooltipped-s" data-copied-hint="Copied!" type="button">Copy path</button>
    </div>
    <div class="breadcrumb js-zeroclipboard-target">
      <span class="repo-root js-repo-root"><span class="js-path-segment"><a href="/churkin/testcafe-sublimetext"><span>testcafe-sublimetext</span></a></span></span><span class="separator">/</span><strong class="final-path">README.md</strong>
    </div>
    

    Fetching contributors…
    <div class="commit-tease-contributors">
      <img alt="" class="loader-loading float-left" height="16" src="https://assets-cdn.github.com/images/spinners/octocat-spinner-32-EAF2F5.gif" width="16" />
      <span class="loader-error">Cannot retrieve contributors at this time</span>
    </div>
    

    <div class="BtnGroup">
      <a href="/churkin/testcafe-sublimetext/raw/master/README.md" class="btn btn-sm BtnGroup-item" id="raw-url">Raw</a>
        <a href="/churkin/testcafe-sublimetext/blame/master/README.md" class="btn btn-sm js-update-url-with-hash BtnGroup-item" data-hotkey="b">Blame</a>
      <a href="/churkin/testcafe-sublimetext/commits/master/README.md" class="btn btn-sm BtnGroup-item" rel="nofollow">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 aria-hidden="true" class="octicon octicon-pencil" height="16" version="1.1" viewBox="0 0 14 16" width="14"><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 aria-hidden="true" class="octicon octicon-trashcan" height="16" version="1.1" viewBox="0 0 12 16" width="12"><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>
    

    You can't perform that action at this time.
    <script crossorigin="anonymous" src="https://assets-cdn.github.com/assets/compat-1378513244796959154de41db23c9593f69d95bfbc36e726129c610a32bc4f0f8fbc10c7dd974ff06d5b3c251e32ed0c3a7cf9317c9bcf1dbfff0dbd642e31fc.js"></script>
    <script crossorigin="anonymous" src="https://assets-cdn.github.com/assets/frameworks-e5e34227117a251141225ce90e1382382af4eb51cd709039bb3154ecf675e3e1a436f4d468b812e008b8d8886c014f44e06d81feefdadacffa52c6d3c1473950.js"></script>
    
    <script async="async" crossorigin="anonymous" src="https://assets-cdn.github.com/assets/github-b18ed99d239f7556f80235f0123c453bead245863bc25294eba2f89a13864edce1a2409b534402c18df0c4ea9a76e498968b4fc6db1a137ae8f83230fd880e85.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.