Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/avajs/atom-ava
Snippets for AVA and run tests directly in the editor
https://github.com/avajs/atom-ava
atom atom-editor ava snippets
Last synced: 2 months ago
JSON representation
Snippets for AVA and run tests directly in the editor
- Host: GitHub
- URL: https://github.com/avajs/atom-ava
- Owner: avajs
- License: mit
- Archived: true
- Created: 2016-02-15T08:05:24.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2019-10-06T13:15:43.000Z (over 5 years ago)
- Last Synced: 2024-04-14T07:01:13.851Z (9 months ago)
- Topics: atom, atom-editor, ava, snippets
- Language: JavaScript
- Homepage: https://atom.io/packages/ava
- Size: 223 KB
- Stars: 103
- Watchers: 11
- Forks: 20
- Open Issues: 9
-
Metadata Files:
- Readme: readme.md
- License: license
Awesome Lists containing this project
- awesome-ava - atom-ava - Snippets for Atom. (Packages)
README
# AVA [![Build Status](https://travis-ci.org/avajs/atom-ava.svg?branch=master)](https://travis-ci.org/avajs/atom-ava)
> Snippets for [AVA](https://ava.li) and run tests directly in the editor
## Install
```
$ apm install ava
```Or, Settings → Install → Search for `ava`
## Snippets
Included are some [snippets](snippets/ava.json) useful for writing AVA tests.
Start writing a snippet's `prefix` and then press Tab ↹ to expand the snippet.
Snippets are fuzzy matched, so you can for example just write `tde` to get the `t.deepEqual()` snippet.
## Run tests directly in the editor
In a project, choose the `Ava: Run` command in the Command Palette or press Ctrl Alt A to run the tests. Choose `Ava: Run File` or press Ctrl Alt Shift A to only run the current test file. Press Esc to close the AVA panel.
## Related
- [Sublime plugin](https://github.com/avajs/sublime-ava)
- [VS Code plugin](https://github.com/samverschueren/vscode-ava)
- [Standard style version of this plugin](https://github.com/capaj/atom-ava-standard)## License
MIT © [Sindre Sorhus](https://sindresorhus.com)