Git Product home page Git Product logo

atom-python-test's People

Contributors

fabiogibson avatar pghilardi avatar pnu-s avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

atom-python-test's Issues

Uncaught TypeError: Cannot read property 'testCases' of undefined

[Enter steps to reproduce:]

  1. ...
  2. ...

Atom: 1.45.0 x64
Electron: 4.2.7
OS: Unknown Windows version
Thrown From: atom-python-test package 1.0.1

Stack Trace

Uncaught TypeError: Cannot read property 'testCases' of undefined

At C:\Users\eoy13\.atom\packages\atom-python-test\lib\atom-python-test-dock.js:62

TypeError: Cannot read property 'testCases' of undefined
    at AtomPythonTestViewDock.printOutput (/packages/atom-python-test/lib/atom-python-test-dock.js:62:25)
    at exit (/packages/atom-python-test/lib/executor/pytest-executor.js:36:23)
    at n (~/AppData/Local/atom/app-1.45.0/resources/app/static/<embedded>:14:1125047)
    at ChildProcess.o.process.on.e (~/AppData/Local/atom/app-1.45.0/resources/app/static/<embedded>:14:1125253)
    at ChildProcess.emit (events.js:182:13)
    at Process.ChildProcess._handle.onexit (internal/child_process.js:240:12)

Commands

     -1:21 application:add-project-folder (atom-pane.pane.active)
     -0:28.7.0 tree-view:add-file (span.name.icon.icon-file-directory)
     -0:26 core:confirm (input.hidden-input)
     -0:24 script:run (input.hidden-input)
     -0:20.2.0 atom-python-test:run-all-tests (input.hidden-input)

Non-Core Packages

atom-python-test 1.0.1 
autocomplete-python 1.16.0 
script 3.26.0 

Uncaught TypeError: Cannot read property 'slice' of undefined

[Enter steps to reproduce:]

Right click on a def test in a class test
Run test under cursor

Atom: 1.20.0 x64
Electron: 1.6.9
OS: Linux Mint
Thrown From: atom-python-test package 0.7.0

Stack Trace

Uncaught TypeError: Cannot read property 'slice' of undefined

At /home/XXXX/.atom/packages/atom-python-test/lib/atom-python-test.coffee:99

TypeError: Cannot read property 'slice' of undefined
    at Object.runTestUnderCursor (/packages/atom-python-test/lib/atom-python-test.coffee:99:34)
    at /packages/atom-python-test/lib/atom-python-test.coffee:35:106)
    at CommandRegistry.module.exports.CommandRegistry.handleCommandEvent (/usr/share/atom/resources/app/src/command-registry.js:265:35)
    at CommandRegistry.handleCommandEvent (/usr/share/atom/resources/app/src/command-registry.js:3:65)
    at CommandRegistry.module.exports.CommandRegistry.dispatch (/usr/share/atom/resources/app/src/command-registry.js:166:25)
    at AtomEnvironment.module.exports.AtomEnvironment.dispatchContextMenuCommand (/usr/share/atom/resources/app/src/atom-environment.js:1344:34)
    at EventEmitter.outerCallback (/usr/share/atom/resources/app/src/application-delegate.js:348:31)
    at emitThree (events.js:116:13)
    at EventEmitter.emit (events.js:194:7)

Commands

     -4:36.5.0 intentions:highlight (input.hidden-input)
     -4:36.1.0 atom-python-test:run-test-under-cursor (input.hidden-input)
  2x -4:19.7.0 core:backspace (input.hidden-input)
     -4:16.8.0 intentions:highlight (input.hidden-input)
     -4:16.6.0 core:save (input.hidden-input)
     -4:13.8.0 atom-python-test:run-all-tests (input.hidden-input)
     -3:42.1.0 tree-view:copy (span.name.icon.icon-file-text)
     -1:05.6.0 core:backspace (input.hidden-input)
     -1:01.0 intentions:highlight (input.hidden-input)
     -1:00.7.0 core:save (input.hidden-input)
     -0:55.3.0 atom-python-test:run-all-tests (input.hidden-input)
  4x -0:38.9.0 core:backspace (input.hidden-input)
     -0:36.9.0 intentions:highlight (input.hidden-input)
     -0:36.6.0 core:save (input.hidden-input)
     -0:30 atom-python-test:run-all-tests (input.hidden-input)
     -0:02.7.0 atom-python-test:run-test-under-cursor (span.syntax--entity.syntax--name.syntax--function.syntax--python)

Non-Core Packages

atom-python-test 0.7.0 
atom-python-virtualenv 0.14.0 
busy-signal 1.4.3 
intentions 1.1.5 
linter 2.2.0 
linter-flake8 2.2.1 
linter-ui-default 1.6.8 
python-autopep8 0.1.3 

Uncaught TypeError: Cannot read property 'buffer' of undefined

[Enter steps to reproduce:]

  1. ...From command console chose run all tests.
  2. ...from the command line 'pytest' completes and runs all 4 tests successfully.

Atom: 1.58.0 x64
Electron: 9.4.4
OS: Mac OS X 10.15.7
Thrown From: atom-python-test package 1.0.1

Stack Trace

Uncaught TypeError: Cannot read property 'buffer' of undefined

At /Users/jmajor/.atom/packages/atom-python-test/lib/atom-python-test.js:65

TypeError: Cannot read property 'buffer' of undefined
    at runAllTests (/packages/atom-python-test/lib/atom-python-test.js:65:17)
    at HTMLElement.atomPythonTestRunAllTests (/packages/atom-python-test/lib/atom-python-test.js:28:11)
    at CommandRegistry.handleCommandEvent (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:352326)
    at Object.didConfirmSelection (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:687184)
    at SelectListView.confirmSelection (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:14:556011)
    at HTMLDivElement.core:confirm (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:14:550890)
    at CommandRegistry.handleCommandEvent (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:352326)
    at KeymapManager.dispatchCommandEvent (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:1227728)
    at KeymapManager.handleKeyboardEvent (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:1223862)
    at WindowEventHandler.handleDocumentKeyEvent (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:286651)

Commands

     -9:44.8.0 core:confirm (input.hidden-input)
  5x -8:04.0 core:backspace (input.hidden-input)
     -7:06.9.0 atom-python-test:toggle-test-results (input.hidden-input)
  2x -5:45 core:backspace (input.hidden-input)
 32x -4:56.6.0 core:move-down (input.hidden-input)
     -4:43.8.0 core:backspace (input.hidden-input)
  2x -3:23.5.0 core:confirm (input.hidden-input)
  2x -1:26.1.0 console:toggle (div.package-detail)
     -1:10.8.0 script:close-view (atom-workspace.workspace.scrollbars-visible-when-scrolling.theme-atom-dark-syntax.theme-atom-dark-ui.atomic-emacs.find-visible)
     -1:05.3.0 console:toggle (atom-pane.pane.active)
     -0:41.5.0 command-palette:toggle (atom-pane.pane.active)
     -0:33.6.0 core:confirm (input.hidden-input)
     -0:33.6.0 atom-python-test:run-all-tests (atom-pane.pane.active)

Non-Core Packages

advanced-open-file 0.16.8 
atom-beautify 0.33.4 
atom-brackets-glow 0.6.0 
atom-clock 0.1.18 
atom-file-icons 0.7.1 
atom-ide-base 3.4.0 
atom-ide-code-format 1.0.2 
atom-ide-console 0.0.2 
atom-ide-datatip 0.25.0 
atom-ide-debugger 0.0.3 
atom-ide-definitions 0.4.2 
atom-ide-hyperclick 1.0.11 
atom-ide-markdown-service 2.1.0 
atom-ide-outline 3.1.0 
atom-ide-signature-help 0.16.0 
atom-isort 3.2.2 
atom-material-syntax 1.0.8 
atom-material-ui 2.1.3 
atom-python-run 0.9.7 
atom-python-test 1.0.1 
atomic-emacs 0.15.0 
autocomplete-python 1.17.0 
busy-signal 2.0.1 
emacs-atom 0.1.0 
emacs-tab 0.2.0 
expose 0.15.0 
find-list 0.3.0 
folded-code-preview 0.2.5 
git-tabs 0.4.1 
hey-pane 1.2.0 
Hydrogen 2.16.3 
ide-python 1.9.6 
intentions 2.1.1 
kite 0.206.0 
linter 3.4.0 
linter-flake8 2.4.0 
linter-pycodestyle 2.1.3 
linter-pyflakes 0.3.2 
linter-ui-default 3.4.1 
markdown-preview-plus 4.11.1 
minimap 4.40.0 
minimap-lens 0.8.2 
minimap-linter 2.2.2 
minimap-pigments 0.2.2 
monokai 0.28.0 
night-owl-theme-ui 0.1.0 
preview-plus 1.2.7 
project-manager 3.3.8 
python-black 0.7.0 
python-indent 1.2.6 
python-tools 0.6.9 
script 3.32.2 
scroll-color 0.3.0 
scroll-through-time 0.3.1 
simple-flake8 0.10.0 
theme-set 0.2.1 
toggle-gutter 0.3.4 
tool-bar 1.4.4 
tool-bar-almighty 0.9.0 
tool-bar-atom 1.7.1 
toolbar-fusion 0.8.5 
wakatime 11.0.4 

Uncaught TypeError: Cannot read property 'getBuffer' of undefined

[Enter steps to reproduce:]

  1. Go to Menubar
  2. Click on Packages
  3. Click on Atom Packages Test
  4. Click on Run all tests on page
    or Click on Run all project tests

Atom: 1.40.1 x64
Electron: 3.1.10
OS: Microsoft Windows 10 Home
Thrown From: atom-python-test package 0.10.0

Stack Trace

Uncaught TypeError: Cannot read property 'getBuffer' of undefined

At C:\Users\quint\.atom\packages\atom-python-test\lib\atom-python-test.coffee:178

TypeError: Cannot read property 'getBuffer' of undefined
    at Object.runAllProjectTests (/packages/atom-python-test/lib/atom-python-test.coffee:178:51)
    at /packages/atom-python-test/lib/atom-python-test.coffee:50:106)
    at CommandRegistry.handleCommandEvent (~/AppData/Local/atom/app-1.40.1/resources/app/static/<embedded>:11:349123)
    at CommandRegistry.dispatch (~/AppData/Local/atom/app-1.40.1/resources/app/static/<embedded>:11:347598)
    at AtomEnvironment.dispatchApplicationMenuCommand (~/AppData/Local/atom/app-1.40.1/resources/app/static/<embedded>:1:744892)
    at EventEmitter.t (~/AppData/Local/atom/app-1.40.1/resources/app/static/<embedded>:1:752815)
    at EventEmitter.emit (events.js:182:13)

Commands

     -5:58.6.0 application:add-project-folder (ul.list-inline.tab-bar.inset-panel)
     -5:36 python-debugger:toggle (input.hidden-input)
     -5:03.1.0 build:trigger (input.hidden-input)
     -3:03.1.0 theme-set:toggle-theme (div.line)
     -3:03.1.0 theme-set:activate-light-theme (atom-workspace.workspace.scrollbars-visible-always.theme-one-light-syntax.theme-climate-ui)
     -2:53.5.0 theme-set:toggle-theme (span.leading-whitespace)
     -2:53.5.0 theme-set:activate-dark-theme (atom-workspace.workspace.scrollbars-visible-always.theme-one-light-syntax.theme-climate-ui)
  2x -2:42.9.0 atom-python-test:run-all-project-tests (span.leading-whitespace)
     -0:25.9.0 pane:close (input.hidden-input)
     -0:08.7.0 atom-python-test:run-all-project-tests (atom-pane.pane)

Non-Core Packages

atom-autocomplete-python 5.0.0 
atom-clock 0.1.17 
atom-eclipse-syntax 0.0.6 
atom-material-ui 2.1.3 
atom-python-run 0.9.7 
atom-python-test 0.10.0 
atom-theme-manager 1.0.3 
better-python-snippets 1.0.0 
build 0.70.0 
build-python 0.11.0 
busy-signal 2.0.1 
climate-ui 4.5.1 
dev-tools-themes 0.1.3 
eclyns 1.1.0 
ide-css 0.3.3 
ide-html 0.6.0 
ide-json 0.2.1 
ide-python 1.5.0 
ide-yaml 0.5.1 
intentions 1.1.5 
kecleon-ui 0.1.1 
language-batch 0.4.0 
Language-Skript 2.1.3 
linter 2.3.1 
linter-ui-default 1.8.0 
linter-ui-plus 0.3.2 
paraiso-dark 2.0.2 
paraiso-light 2.0.2 
python-debugger 0.2.0 
python-requirements 1.0.0 
semantic-ui 1.0.9 
teletype 0.13.4 
theme-set 0.2.1 

Use new Docks feature

As of Atom 1.17, there's a new Docks feature especially designed for panels like what this package opens. It would simplify usage from a user's point of view, and be more consistent with other Atom packages.

Uncaught TypeError: Cannot read property 'file' of undefined

Tried is on MacOS and got this ugly error while py.test is installed

The default way to call py.test is via the module invocation: python -m pytest as this works on all platforms and also allows you to use it with the default python interpretor.

If someone is trying to call the shell script approach they are locked into using a single version of py.test.
screenshot 2016-07-23 11 59 20

Please support pipenv

Please support pipenv to start unit test without having to source virtualenv prior to launch atom.
thx

Toogle test results does not close results panel

After updating to the new 1.0.0 version the new command atom-python-test:toggle-test-results open the results panel, but once opened is not possible to close the panel by using the same command. Is this intended?

Wrong command on settings

After updating to 1.0.0 there is the old atom-python-test:close-panel command in the package settings instead of the new atom-python-test:toggle-test-results.

image

Test that are passing are not shown on dock panel

Since updating to 1.0.0 only if there is an error you will see something in the results dock panel. In lib/executor/pytest-executor.js there is nothing done when the BufferedProcess receives an output and updates on the execution are not printed on the results panel.

Uncaught TypeError: this.tmp.fileSync is not a function

[Enter steps to reproduce below:]

  1. ...
  2. ...

Atom Version: 1.13.0
Electron Version: 1.4.14
System: linux 4.8.13-1-ARCH
Thrown From: atom-python-test package, v0.5.4

Stack Trace

Uncaught TypeError: this.tmp.fileSync is not a function

At /home/xeon/.atom/packages/atom-python-test/lib/atom-python-test.coffee:62

TypeError: this.tmp.fileSync is not a function
    at Object.executePyTest (/home/xeon/.atom/packages/atom-python-test/lib/atom-python-test.coffee:62:33)
    at Object.runAllTests (/home/xeon/.atom/packages/atom-python-test/lib/atom-python-test.coffee:124:6)
    at atom-workspace.subscriptions.add.atom.commands.add.atom-python-test:run-all-tests (/home/xeon/.atom/packages/atom-python-test/lib/atom-python-test.coffee:30:98)
    at CommandRegistry.module.exports.CommandRegistry.handleCommandEvent (/usr/lib/atom/src/command-registry.js:259:29)
    at CommandRegistry.handleCommandEvent (/usr/lib/atom/src/command-registry.js:3:59)
    at CommandRegistry.module.exports.CommandRegistry.dispatch (/usr/lib/atom/src/command-registry.js:160:19)
    at AtomEnvironment.module.exports.AtomEnvironment.dispatchApplicationMenuCommand (/usr/lib/atom/src/atom-environment.js:1175:28)
    at EventEmitter.outerCallback (/usr/lib/atom/src/application-delegate.js:319:25)
    at emitThree (events.js:116:13)
    at EventEmitter.emit (events.js:194:7)

Commands

     -3:23.2.0 find-and-replace:show (input.hidden-input)
     -3:20.4.0 core:move-right (input.hidden-input)
  3x -3:20.1.0 core:backspace (input.hidden-input)
     -3:17.8.0 find-and-replace:focus-next (input.hidden-input)
  3x -3:17.3.0 core:backspace (input.hidden-input)
     -3:10.7.0 core:save (input.hidden-input)
     -2:12.4.0 core:move-up (input.hidden-input)
     -2:11.9.0 core:move-right (input.hidden-input)
     -2:11.3.0 core:move-down (input.hidden-input)
     -2:10.2.0 core:save (input.hidden-input)
     -1:46 go-to-line:toggle (input.hidden-input)
     -1:41.6.0 core:cancel (input.hidden-input)
     -0:37.4.0 command-palette:toggle (input.hidden-input)
     -0:15.9.0 editor:consolidate-selections (input.hidden-input)
     -0:15.9.0 core:cancel (input.hidden-input)
     -0:00.4.0 atom-python-test:run-all-tests (input.hidden-input)

Config

{
  "core": {
    "autoHideMenuBar": true,
    "telemetryConsent": "limited"
  }
}

Installed Packages

# User
atom-clock, v0.0.8 (active)
atom-python-test, v0.5.4 (active)
python-debugger, v0.1.0 (active)
python-isort, v0.0.7 (active)
python-snippets, v1.9.0 (active)
atom-dark-syntax, v0.28.0 (inactive)
atom-dark-ui, v0.53.0 (inactive)
atom-light-syntax, v0.29.0 (inactive)
atom-light-ui, v0.46.0 (inactive)
base16-tomorrow-dark-theme, v1.4.0 (inactive)
base16-tomorrow-light-theme, v1.4.0 (inactive)
one-dark-ui, v1.8.2 (active)
one-light-ui, v1.8.2 (inactive)
one-dark-syntax, v1.6.0 (active)
one-light-syntax, v1.6.0 (inactive)
solarized-dark-syntax, v1.1.1 (inactive)
solarized-light-syntax, v1.1.1 (inactive)
about, v1.7.2 (active)
archive-view, v0.62.0 (active)
autocomplete-atom-api, v0.10.0 (active)
autocomplete-css, v0.14.1 (active)
autocomplete-html, v0.7.2 (active)
autocomplete-plus, v2.33.1 (active)
autocomplete-snippets, v1.11.0 (active)
autoflow, v0.29.0 (inactive)
autosave, v0.23.2 (active)
background-tips, v0.26.1 (active)
bookmarks, v0.43.2 (active)
bracket-matcher, v0.85.1 (active)
command-palette, v0.39.1 (active)
deprecation-cop, v0.55.1 (active)
dev-live-reload, v0.47.0 (active)
encoding-selector, v0.22.0 (active)
exception-reporting, v0.40.0 (active)
find-and-replace, v0.204.5 (active)
fuzzy-finder, v1.4.0 (active)
git-diff, v1.2.0 (active)
go-to-line, v0.31.2 (active)
grammar-selector, v0.48.2 (active)
image-view, v0.60.0 (active)
incompatible-packages, v0.26.1 (active)
keybinding-resolver, v0.35.0 (active)
line-ending-selector, v0.5.1 (active)
link, v0.31.2 (inactive)
markdown-preview, v0.159.1 (active)
metrics, v1.1.2 (active)
notifications, v0.65.1 (active)
open-on-github, v1.2.1 (inactive)
package-generator, v1.0.2 (inactive)
settings-view, v0.244.0 (active)
snippets, v1.0.4 (active)
spell-check, v0.68.5 (active)
status-bar, v1.6.0 (active)
styleguide, v0.48.0 (active)
symbols-view, v0.113.1 (inactive)
tabs, v0.103.1 (active)
timecop, v0.33.2 (active)
tree-view, v0.211.1 (active)
update-package-dependencies, v0.10.0 (active)
welcome, v0.35.1 (active)
whitespace, v0.35.0 (active)
wrap-guide, v0.39.0 (active)
language-c, v0.54.0 (active)
language-clojure, v0.22.1 (active)
language-coffee-script, v0.48.1 (active)
language-csharp, v0.13.0 (active)
language-css, v0.40.1 (active)
language-gfm, v0.88.0 (active)
language-git, v0.15.0 (active)
language-go, v0.43.0 (active)
language-html, v0.47.1 (active)
language-hyperlink, v0.16.1 (active)
language-java, v0.24.0 (active)
language-javascript, v0.122.0 (active)
language-json, v0.18.3 (active)
language-less, v0.29.6 (active)
language-make, v0.22.2 (active)
language-mustache, v0.13.0 (active)
language-objective-c, v0.15.1 (active)
language-perl, v0.37.0 (active)
language-php, v0.37.3 (active)
language-property-list, v0.8.0 (active)
language-python, v0.45.1 (active)
language-ruby, v0.70.2 (active)
language-ruby-on-rails, v0.25.1 (active)
language-sass, v0.57.0 (active)
language-shellscript, v0.23.0 (active)
language-source, v0.9.0 (active)
language-sql, v0.25.0 (active)
language-text, v0.7.1 (active)
language-todo, v0.29.1 (active)
language-toml, v0.18.1 (active)
language-xml, v0.34.12 (active)
language-yaml, v0.27.1 (active)

# Dev
No dev packages

Uncaught TypeError: editor.getBuffer is not a function

[Enter steps to reproduce:]

  1. ...
  2. ...

Atom: 1.23.1 x64
Electron: 1.6.15
OS: Microsoft Windows 10 Pro
Thrown From: atom-python-test package 0.9.0

Stack Trace

Uncaught TypeError: editor.getBuffer is not a function

At C:\Users\Nihal\.atom\packages\atom-python-test\lib\atom-python-test.coffee:159

TypeError: editor.getBuffer is not a function
    at Object.runAllProjectTests (/packages/atom-python-test/lib/atom-python-test.coffee:159:51)
    at /packages/atom-python-test/lib/atom-python-test.coffee:41:106)
    at CommandRegistry.handleCommandEvent (~/AppData/Local/atom/app-1.23.1/resources/app/src/command-registry.js:388:36)
    at CommandRegistry.dispatch (~/AppData/Local/atom/app-1.23.1/resources/app/src/command-registry.js:273:23)
    at AtomEnvironment.module.exports.AtomEnvironment.dispatchApplicationMenuCommand (~/AppData/Local/atom/app-1.23.1/resources/app/src/atom-environment.js:1393:34)
    at EventEmitter.outerCallback (~/AppData/Local/atom/app-1.23.1/resources/app/src/application-delegate.js:335:31)
    at emitThree (events.js:116:13)
    at EventEmitter.emit (events.js:194:7)

Commands

     -9:30.3.0 core:paste (input.hidden-input)
     -9:22.5.0 core:save-as (input.hidden-input)
 10x -8:22.7.0 core:backspace (input.hidden-input)
     -2:01.7.0 atom-python-test:run-all-tests (ul.list-inline.tab-bar.inset-panel)
     -1:27 core:confirm (input.hidden-input)
     -0:20.3.0 atom-python-test:run-all-project-tests (ul.list-inline.tab-bar.inset-panel)

Non-Core Packages

atom-css-clean 2.24.1 
atom-ide-ui 0.7.1 
atom-idiomatic-comments-css-snippets 0.1.0 
atom-python-run 0.9.5 
atom-python-test 0.9.0 
atom-runner 2.7.1 
autocomplete-python 1.10.5 
css-grid-snippets 1.1.0 
css-helper-snippets 0.3.0 
css-snippets 1.1.0 
css-specificity 0.2.2 
html-head-snippets 0.2.0 
html-to-css 0.2.2 
html-to-string 0.2.3 
htmlhint 1.1.4 
ide-css 0.2.0 
ide-html 0.4.1 
ide-python 0.4.0 
language-html5-subtlegradient 0.1.0 
linter 2.2.0 
linter-tidy 2.3.1 
linter-ui-default 1.6.10 
python-debugger 0.2.0 
python-snippets 1.9.0 
python-tools 0.6.9 

Uncaught NotFoundError: Failed to execute 'removeChild' on 'Node': The node to be removed is not ...

[Enter steps to reproduce:]

  1. clicked CTRL, ALT + T from pytest.py file

Atom: 1.53.0 x64
Electron: 6.1.12
OS: Microsoft Windows 10 Education
Thrown From: atom-python-test package 1.0.1

Stack Trace

Uncaught NotFoundError: Failed to execute 'removeChild' on 'Node': The node to be removed is not a child of this node.

At C:\Users\c1914641\.atom\packages\atom-python-test\lib\atom-python-test-dock.js:18

Error: Failed to execute 'removeChild' on 'Node': The node to be removed is not a child of this node.
    at AtomPythonTestViewDock.removeTable (/packages/atom-python-test/lib/atom-python-test-dock.js:18:20)
    at AtomPythonTestViewDock.printOutput (/packages/atom-python-test/lib/atom-python-test-dock.js:57:10)
    at exit (/packages/atom-python-test/lib/executor/pytest-executor.js:36:23)
    at s (~/AppData/Local/atom/app-1.53.0/resources/app/static/<embedded>:14:1134640)
    at ChildProcess.<anonymous> (~/AppData/Local/atom/app-1.53.0/resources/app/static/<embedded>:14:1134846)
    at ChildProcess.emit (events.js:200:13)
    at Process.ChildProcess._handle.onexit (internal/child_process.js:272:12)

Commands

     -9:45.5.0 application:open-file (button.btn)
     -9:29.5.0 grammar-selector:show (atom-text-editor.editor.is-focused)
     -9:00.2.0 application:open-file (input.hidden-input)
  2x -8:03.8.0 core:undo (input.hidden-input)
     -6:44.3.0 editor:paste-without-reformatting (input.hidden-input)
 21x -6:41.9.0 tree-view:toggle (input.hidden-input)
     -6:30.2.0 core:undo (input.hidden-input)
     -6:27.8.0 script:run (input.hidden-input)
     -5:29.7.0 command-palette:toggle (input.hidden-input)
     -5:25.9.0 core:backspace (input.hidden-input)
     -5:21.2.0 editor:consolidate-selections (input.hidden-input)
     -5:21.2.0 core:cancel (input.hidden-input)
     -2:57.3.0 atom-python-test:run-all-tests (input.hidden-input)
     -2:43.9.0 editor:consolidate-selections (input.hidden-input)
  2x -2:43.9.0 core:cancel (input.hidden-input)
  2x -2:40.7.0 atom-python-test:run-all-tests (input.hidden-input)

Non-Core Packages

atom-python-test 1.0.1 
script 3.26.0 
teletype 0.13.4 

py.test not found

I'm getting this

Running tests... 
 
An error occured while executing py.test. Check if py.test is installed and is in your path.

despite having the py.test command installed under ~/.local/bin which is in my PATH. I'm able to run py.test normally from a terminal.

Uncaught TypeError: Cannot read property 'path' of null

[Enter steps to reproduce:]

  1. ...
  2. ...

Atom: 1.23.1 x64
Electron: 1.6.15
OS: Microsoft Windows 8.1 Pro
Thrown From: atom-python-test package 0.9.0

Stack Trace

Uncaught TypeError: Cannot read property 'path' of null

At C:\Users\HOME\.atom\packages\atom-python-test\lib\atom-python-test.coffee:159

TypeError: Cannot read property 'path' of null
    at Object.runAllProjectTests (/packages/atom-python-test/lib/atom-python-test.coffee:159:67)
    at /packages/atom-python-test/lib/atom-python-test.coffee:41:106)
    at CommandRegistry.handleCommandEvent (~/AppData/Local/atom/app-1.23.1/resources/app/src/command-registry.js:388:36)
    at CommandRegistry.dispatch (~/AppData/Local/atom/app-1.23.1/resources/app/src/command-registry.js:273:23)
    at AtomEnvironment.module.exports.AtomEnvironment.dispatchApplicationMenuCommand (~/AppData/Local/atom/app-1.23.1/resources/app/src/atom-environment.js:1393:34)
    at EventEmitter.outerCallback (~/AppData/Local/atom/app-1.23.1/resources/app/src/application-delegate.js:335:31)
    at emitThree (events.js:116:13)
    at EventEmitter.emit (events.js:194:7)

Commands

     -2:13 core:cancel (input.hidden-input)
     -2:11.7.0 editor:duplicate-lines (input.hidden-input)
     -2:10 editor:consolidate-selections (input.hidden-input)
     -2:10 core:cancel (input.hidden-input)
  2x -2:09.9.0 core:backspace (input.hidden-input)
 42x -2:07.9.0 intentions:highlight (input.hidden-input)
     -2:03.7.0 build:select-active-target (input.hidden-input)
     -2:02.5.0 core:backspace (input.hidden-input)
     -2:02.1.0 editor:consolidate-selections (input.hidden-input)
     -2:02.1.0 core:cancel (input.hidden-input)
     -1:38.5.0 kite:open-settings (input.hidden-input)
     -1:01.3.0 atom-clock:toggle (input.hidden-input)
     -0:51.1.0 atom-clock:utc-mode (input.hidden-input)
     -0:41.2.0 atom-python-test:run-all-tests (input.hidden-input)
     -0:25.7.0 grammar-selector:show (atom-text-editor.editor.is-focused)
     -0:15.5.0 atom-python-test:run-all-project-tests (input.hidden-input)

Non-Core Packages

atom-clock 0.1.15 
atom-eclipse-syntax 0.0.5 
atom-fix-path 0.1.0 
atom-python-package 0.7.1 
atom-python-run 0.9.5 
atom-python-test 0.9.0 
atom-runner 2.7.1 
autocomplete-modules 1.8.0 
autocomplete-python 1.10.5 
autocomplete-python-jedi 1.10.3-0 
build 0.69.0 
build-python 0.9.3 
busy-signal 1.4.3 
city-lights-syntax 1.1.4 
city-lights-ui 1.2.0 
colorblind-wombat-dark-syntax 0.6.0 
copy-path 0.4.2 
env-from-shell 0.3.0 
ide-python 0.3.0 
intentions 1.1.5 
jscs-fixer 1.3.0 
kite 0.58.0 
linter 2.2.0 
linter-erb 1.1.0 
linter-pylama 0.9.5 
linter-pylint 2.1.0 
linter-python 3.1.2 
linter-tidy 2.3.1 
linter-ui-default 1.6.10 
python-debugger 0.2.0 
python-indent 1.1.4 
python-tools 0.6.9 
run-python-simply 0.4.0 
script 3.17.3 
styri-syntax 0.1.1 
tree-view-copy-relative-path 1.2.0 

Inherit atom font config

The font and size is different from the font size I have in my Python code. In my case, it's too small and the wrong font. Is it possible to make it inherit font size and font from the appropriate config?

Uncaught TypeError: Cannot read property 'getSelectedText' of undefined

[Enter steps to reproduce:]

  1. ...
  2. ...

Atom: 1.42.0 x64
Electron: 4.2.7
OS: "Fedora release
Thrown From: atom-python-test package 0.10.0

Stack Trace

Uncaught TypeError: Cannot read property 'getSelectedText' of undefined

At /home/nazar/.atom/packages/atom-python-test/lib/atom-python-test.coffee:129

TypeError: Cannot read property 'getSelectedText' of undefined
    at Object.runTestUnderCursor (/packages/atom-python-test/lib/atom-python-test.coffee:129:27)
    at /packages/atom-python-test/lib/atom-python-test.coffee:48:106)
    at CommandRegistry.handleCommandEvent (/usr/share/atom/resources/app/static/<embedded>:11:349385)
    at CommandRegistry.dispatch (/usr/share/atom/resources/app/static/<embedded>:11:347860)
    at AtomEnvironment.dispatchContextMenuCommand (/usr/share/atom/resources/app/static/<embedded>:1:720027)
    at EventEmitter.t (/usr/share/atom/resources/app/static/<embedded>:1:728033)
    at EventEmitter.emit (events.js:182:13)

Commands

     -6:13.7.0 command-palette:toggle (input.hidden-input)
     -6:06.2.0 core:confirm (input.hidden-input)
     -6:06.2.0 application:show-preferences (input.hidden-input)
     -5:10.9.0 core:backspace (input.hidden-input)
     -1:54.2.0 github:toggle-github-tab (atom-workspace.workspace.scrollbars-visible-always.theme-one-dark-syntax.theme-one-dark-ui)
     -1:39.3.0 script:run (atom-text-editor.editor.is-focused)
     -0:11.3.0 atom-python-test:run-test-under-cursor (span.)

Non-Core Packages

atom-python-run 0.9.7 
atom-python-test 0.10.0 
build 0.70.0 
build-python 0.11.0 
busy-signal 2.0.1 
ide-python 1.5.0 
python-debugger 0.2.0 
python-snippets 1.9.0 
python-tools 0.6.9 
run-python-simply 0.6.0 
script 3.25.0 

Uncaught TypeError: Cannot read property 'file' of undefined

[Enter steps to reproduce below:]

  1. ...
  2. ...

Atom Version: 1.8.0-beta3
System: Microsoft Windows 10 Pro Insider Preview
Thrown From: atom-python-test package, v0.1.7

Stack Trace

Uncaught TypeError: Cannot read property 'file' of undefined

At /C:/Users/Prashant/.atom/packages/atom-python-test/lib/atom-python-test.coffee:100

TypeError: Cannot read property 'file' of undefined
    at Object.module.exports.AtomPythonTest.runAllTests (file:///C:/Users/Prashant/.atom/packages/atom-python-test/lib/atom-python-test.coffee:86:26)
    at atom-workspace.subscriptions.add.atom.commands.add.atom-python-test:run-all-tests (file:///C:/Users/Prashant/.atom/packages/atom-python-test/lib/atom-python-test.coffee:17:98)
    at CommandRegistry.module.exports.CommandRegistry.handleCommandEvent (C:\Users\Prashant\AppData\Local\atom\app-1.8.0-beta3\resources\app.asar\src\command-registry.js:260:29)
    at CommandRegistry.handleCommandEvent (C:\Users\Prashant\AppData\Local\atom\app-1.8.0-beta3\resources\app.asar\src\command-registry.js:3:61)
    at CommandRegistry.module.exports.CommandRegistry.dispatch (C:\Users\Prashant\AppData\Local\atom\app-1.8.0-beta3\resources\app.asar\src\command-registry.js:160:19)
    at AtomEnvironment.module.exports.AtomEnvironment.dispatchApplicationMenuCommand (C:\Users\Prashant\AppData\Local\atom\app-1.8.0-beta3\resources\app.asar\src\atom-environment.js:1100:28)
    at EventEmitter.outerCallback (C:\Users\Prashant\AppData\Local\atom\app-1.8.0-beta3\resources\app.asar\src\application-delegate.js:327:25)
    at emitTwo (events.js:87:13)
    at EventEmitter.emit (events.js:172:7)

Commands

     -0:03.0 atom-python-test:run-all-tests (button.btn.btn-default.icon.icon-link-external)

Config

{
  "core": {}
}

Installed Packages

# User
aligner-python, v1.0.1
atom-python-debugger, v0.3.4
atom-python-test, v0.1.7
atomic-chrome, v0.3.0
autocomplete-python, v1.7.2
autoprotocol-python, v2.0.0
language-python-mamba, v1.0.1
linter, v1.11.4
linter-python, v2.1.7
linter-python-pep257, v0.0.1
linter-python-pep8, v0.2.0
linter-python-pyflakes, v0.1.0
MagicPython, v0.5.9
python-autopep8, v0.1.3
python-for-glyphs, v0.1.0
python-indent, v0.4.3
python-iresolve, v0.0.3
python-isort, v0.0.7
python-jedi, v0.3.6
python-snippets, v1.9.0
python-tools, v0.6.7
python-yapf, v0.10.0

# Dev
No dev packages

How to move test pane

Is it possible to move the test text-box around? For example, I'd like to have it to the right of my code, rather than below. Ideally, it could be just like a regular buffer/pane, and could be moved around, kept in a tab, and switched to/from.

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.