Giter VIP home page Giter VIP logo

atom-plugin's Introduction

Atom plugin Build Status

atoum atom

atoum-plugin

Commands & keymaps

Command Description Binding
atoum-plugin:toggle Toggles atoum panel ctrl + alt + a
atoum-plugin:run-file Runs the selected file in the treeview ๐Ÿ–ฑ
atoum-plugin:run-current-file Runs the selected directory in the treeview ๐Ÿ–ฑ
atoum-plugin:run-directory Runs the currently focused file in the editor cmd + ctrl + alt + a
atoum-plugin:run-current-directory Runs the directory of the currently focused file in the editor cmd + shift + ctrl + alt + a

Configuration

Key Description Default
atoum-plugin.usePackagedPhar Use the packaged atoum PHAR false
atoum-plugin.maxChildrenNumber Maximum number of concurrent processes Number of CPUs on your machine
atoum-plugin.disableCodeCoverage Disable code coverage true
atoum-plugin.enableDebugMode Enable debug mode false
atoum-plugin.xdebugConfig xDebug configuration
atoum-plugin.failIfVoidMethod Fail if there is a void method false
atoum-plugin.failIfSkippedMethod Fail if there is a skipped method false
atoum-plugin.phpPath Path to the PHP binary to use php
atoum-plugin.phpArguments Arguments to append to the PHP command

atom-plugin's People

Contributors

drosanda avatar grummfy avatar jubianchi avatar tarlepp avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

atom-plugin's Issues

Modify file tree's menu

When I right click on a file in the file tree, the menu shows "run the directory with atoum" that does the same action as "run file with atoum" (atoum -f xxxx ) .

It's a file, it's not a directory, maybe the line "run the directory with atoum" should not appear in the menu. Or if you let it maybe it should execute atoum with the -d option (not -f like now) on the parent directory of the file selected.

Deprecated selector in `atoum-plugin/styles/atoum-plugin.less`

Hello.

I just installed atoum-plugin to manage my unit tests within Atom, and I have the following depreciation.

In atoum-plugin/styles/atoum-plugin.less:

Starting from Atom v1.13.0, the contents of atom-text-editor elements are no longer encapsulated within a shadow DOM boundary. This means you should stop using :host and ::shadow pseudo-selectors, and prepend all your syntax selectors with syntax--. To prevent breakage with existing style sheets, Atom will automatically upgrade the following selectors:

  • atom-text-editor::shadow .failing.decoration => atom-text-editor.editor .failing.syntax--decoration

  • atom-text-editor::shadow .failing.decoration span => atom-text-editor.editor .failing.syntax--decoration span

  • atom-text-editor::shadow .failing .region => atom-text-editor.editor .failing .region

  • atom-text-editor::shadow .covered.decoration => atom-text-editor.editor .covered.syntax--decoration

  • atom-text-editor::shadow .covered.decoration span => atom-text-editor.editor .covered.syntax--decoration span

  • atom-text-editor::shadow .uncovered.decoration => atom-text-editor.editor .uncovered.syntax--decoration

  • atom-text-editor::shadow .uncovered.decoration span => atom-text-editor.editor .uncovered.syntax--decoration span

Automatic translation of selectors will be removed in a few release cycles to minimize startup time. Please, make sure to upgrade the above selectors as soon as possible.

Uncaught TypeError: path must be a string

[Enter steps to reproduce below:]

  1. ...
  2. ...

Atom Version: 1.2.4
System: Debian GNU/Linux
Thrown From: atoum-plugin package, v0.4.1

Stack Trace

Uncaught TypeError: path must be a string

At fs.js:854

TypeError: path must be a string
    at TypeError (native)
    at fs.statSync (fs.js:854:18)
    at Object.fs.statSync (ATOM_SHELL_ASAR.js:225:16)
    at AtoumRunner.module.exports.AtoumRunner.start (/home/ABC-OBJECTIF/david.epely/.atom/packages/atoum-plugin/lib/runner.coffee:45:15)
    at AtoumToolbarView.module.exports.AtoumToolbarView.startStop (/home/ABC-OBJECTIF/david.epely/.atom/packages/atoum-plugin/lib/views/toolbar.coffee:25:22)
    at HTMLAnchorElement.<anonymous> (/usr/share/atom/resources/app.asar/node_modules/atom-space-pen-views/node_modules/space-pen/lib/space-pen.js:220:36)
    at HTMLAnchorElement.jQuery.event.dispatch (/usr/share/atom/resources/app.asar/node_modules/jquery/dist/jquery.js:4435:9)
    at HTMLAnchorElement.elemData.handle (/usr/share/atom/resources/app.asar/node_modules/jquery/dist/jquery.js:4121:28)

Commands

     -0:05.8.0 command-palette:toggle (ol.tree-view.full-menu.list-tree.has-collapsable-children.focusable-panel)
     -0:03.8.0 core:confirm (atom-text-editor.editor.mini.is-focused)
     -0:03.5.0 atoum-plugin:toggle (ol.tree-view.full-menu.list-tree.has-collapsable-children.focusable-panel)

Config

{
  "core": {
    "disabledPackages": [
      "jshint"
    ]
  },
  "atoum-plugin": {}
}

Installed Packages

# User
angularjs, v0.3.3
atom-xsltransform, v0.8.0
atoum-plugin, v0.4.1
auto-detect-indentation, v0.4.2
autocomplete-paths, v1.0.2
behat-atom, v0.1.2
clipboard-plus, v0.5.1
color-picker, v2.0.13
editorconfig, v1.2.2
linter, v1.11.3
linter-eslint, v5.2.4
minimap, v4.16.2
node-debugger, v1.3.0
node-resolver, v1.0.1
php-twig, v4.0.0
project-manager, v2.6.5
symfony-snippets, v0.3.0
xml-tools, v0.2.1

# Dev
No dev packages

Uncaught TypeError: Cannot read property 'diag' of null

  1. Select a directory in the tree view
  2. Trigger the atoum Run directory command

Atom Version: 1.4.0
System: Mac OS X 10.11.2
Thrown From: atoum-plugin package, v0.5.0

Stack Trace

Uncaught TypeError: Cannot read property 'diag' of null

At /Users/spy-seth/.atom/packages/atoum-plugin/lib/parser.coffee:80

TypeError: Cannot read property 'diag' of null
  at AtoumParser.module.exports.AtoumParser.parseLine (/Users/spy-seth/.atom/packages/atoum-plugin/lib/parser.coffee:80:34)
  at /Users/spy-seth/.atom/packages/atoum-plugin/lib/parser.coffee:42:33
  at Array.forEach (native)
  at AtoumParser.module.exports.AtoumParser.parse (/Users/spy-seth/.atom/packages/atoum-plugin/lib/parser.coffee:42:14)
  at AtoumParser.module.exports.AtoumParser.runnerDidProduceOutput (/Users/spy-seth/.atom/packages/atoum-plugin/lib/parser.coffee:29:10)
  at /Users/spy-seth/.atom/packages/atoum-plugin/lib/panel.coffee:37:21
  at Function.module.exports.Emitter.simpleDispatch (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/event-kit/lib/emitter.js:25:14)
  at AtoumRunner.module.exports.Emitter.emit (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/event-kit/lib/emitter.js:125:28)
  at /Users/spy-seth/.atom/packages/atoum-plugin/lib/runner.coffee:43:26
  at Socket.<anonymous> (/Applications/Atom.app/Contents/Resources/app.asar/src/buffered-process.js:85:13)
  at emitOne (events.js:77:13)
  at Socket.emit (events.js:169:7)
  at readableAddChunk (_stream_readable.js:146:16)
  at Socket.Readable.push (_stream_readable.js:110:10)
  at Pipe.onread (net.js:523:20)

Commands

     -1:22.4.0 command-palette:toggle (atom-text-editor.editor.enable-nuclide-find-references.is-focused)
  3x -1:18.9.0 core:move-down (atom-text-editor.editor.mini.is-focused)
     -1:17.9.0 core:confirm (atom-text-editor.editor.mini.is-focused)
     -1:17.9.0 atoum-plugin:run-current-file (atom-text-editor.editor.enable-nuclide-find-references)
     -0:53.1.0 core:move-left (atom-text-editor.editor.enable-nuclide-find-references.is-focused)
     -0:52.8.0 core:backspace (atom-text-editor.editor.enable-nuclide-find-references.is-focused)
     -0:50.6.0 core:save (atom-text-editor.editor.enable-nuclide-find-references.is-focused)
     -0:37.7.0 core:undo (atom-text-editor.editor.enable-nuclide-find-references.is-focused)
     -0:36.6.0 core:save (atom-text-editor.editor.enable-nuclide-find-references.is-focused)
     -0:22 command-palette:toggle (atom-text-editor.editor.enable-nuclide-find-references)
     -0:15.5.0 editor:consolidate-selections (atom-text-editor.editor.mini.is-focused)
     -0:15.5.0 core:cancel (atom-text-editor.editor.mini.is-focused)
     -0:10.8.0 command-palette:toggle (div.nuclide-file-tree.focusable-panel.tree-view)
  2x -0:08.8.0 core:move-down (atom-text-editor.editor.mini.is-focused)
     -0:06.9.0 core:confirm (atom-text-editor.editor.mini.is-focused)
     -0:06.9.0 atoum-plugin:run-directory (div.nuclide-file-tree.focusable-panel.tree-view)

Config

{
  "core": {
    "disabledPackages": [
      "metrics",
      "php-cs-fixer",
      "tree-view",
      "autocomplete-modules",
      "linter"
    ],
    "excludeVcsIgnoredPaths": false,
    "packagesWithKeymapsDisabled": [
      "git-plus"
    ],
    "projectHome": "/Users/spy-seth/workspace",
    "themes": [
      "one-light-ui",
      "one-light-syntax"
    ]
  },
  "atoum-plugin": {
    "failIfVoidMethod": true,
    "phpPath": "/usr/local/bin/php"
  }
}

Installed Packages

# User
Sublime-Style-Column-Selection, v1.5.1
atom-autocomplete-php, v0.18.7
atom-beautify, v0.28.21
atoum-plugin, v0.5.0
docblockr, v0.7.3
editorconfig, v1.2.4
highlight-selected, v0.11.1
language-apache, v1.4.0
language-docker, v1.1.6
language-gherkin, v1.0.3
language-nginx, v0.6.1
linter-eslint, v5.2.7
linter-jsonlint, v1.1.4
linter-less, v2.3.3
linter-php, v1.1.6
nuclide, v0.111.0
php-composer-completion, v0.3.4
php-getters-setters, v0.5.5
php-twig, v4.0.0
pretty-json, v0.4.1
project-manager, v2.7.3
react, v0.14.1
sync-settings, v0.6.0
trailing-spaces, v0.3.2

# Dev
No dev packages

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.