ctrl+shift+p filters: :st2 :st3 :win :osx :linux
浏览

ElixirTest

作者 tarzan 全部

在Sublime Text中直接对单个文件/测试执行`mix test`!

详情

  • 1.2.0
  • github.com
  • github.com
  • 7年前
  • 2小时前
  • 6年前

安装次数

  • 总计 2K
  • Win 1K
  • Mac 540
  • Linux 396
8月6日 8月5日 8月4日 8月3日 8月2日 8月1日 7月31日 7月30日 7月29日 7月28日 7月27日 7月26日 7月25日 7月24日 7月23日 7月22日 7月21日 7月20日 7月19日 7月18日 7月17日 7月16日 7月15日 7月14日 7月13日 7月12日 7月11日 7月10日 7月9日 7月8日 7月7日 7月6日 7月5日 7月4日 7月3日 7月2日 7月1日 6月30日 6月29日 6月28日 6月27日 6月26日 6月25日 6月24日 6月23日
Windows 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0
Mac 1 1 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 0 0 0 0 0 0 0 0 0 0 0 0 0 1 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
012348月6日8月3日7月31日7月28日7月25日7月22日7月19日7月16日7月13日7月10日7月7日7月4日7月1日6月28日6月25日8月6日 Linux: 0 Mac: 1 Windows: 08月5日 Linux: 0 Mac: 1 Windows: 08月4日 Linux: 0 Mac: 0 Windows: 08月3日 Linux: 0 Mac: 0 Windows: 08月2日 Linux: 0 Mac: 0 Windows: 18月1日 Linux: 0 Mac: 0 Windows: 07月31日 Linux: 0 Mac: 0 Windows: 07月30日 Linux: 0 Mac: 0 Windows: 07月29日 Linux: 0 Mac: 0 Windows: 07月28日 Linux: 0 Mac: 0 Windows: 07月27日 Linux: 0 Mac: 0 Windows: 07月26日 Linux: 0 Mac: 0 Windows: 07月25日 Linux: 0 Mac: 1 Windows: 07月24日 Linux: 0 Mac: 0 Windows: 07月23日 Linux: 0 Mac: 0 Windows: 07月22日 Linux: 0 Mac: 0 Windows: 17月21日 Linux: 0 Mac: 0 Windows: 07月20日 Linux: 0 Mac: 0 Windows: 07月19日 Linux: 0 Mac: 0 Windows: 07月18日 Linux: 0 Mac: 0 Windows: 07月17日 Linux: 0 Mac: 0 Windows: 07月16日 Linux: 0 Mac: 0 Windows: 07月15日 Linux: 0 Mac: 0 Windows: 07月14日 Linux: 0 Mac: 0 Windows: 07月13日 Linux: 0 Mac: 0 Windows: 07月12日 Linux: 0 Mac: 0 Windows: 07月11日 Linux: 0 Mac: 0 Windows: 07月10日 Linux: 0 Mac: 0 Windows: 07月9日 Linux: 0 Mac: 0 Windows: 07月8日 Linux: 0 Mac: 0 Windows: 17月7日 Linux: 0 Mac: 0 Windows: 07月6日 Linux: 0 Mac: 0 Windows: 07月5日 Linux: 0 Mac: 0 Windows: 17月4日 Linux: 0 Mac: 0 Windows: 07月3日 Linux: 0 Mac: 0 Windows: 07月2日 Linux: 0 Mac: 0 Windows: 07月1日 Linux: 0 Mac: 0 Windows: 06月30日 Linux: 0 Mac: 0 Windows: 06月29日 Linux: 0 Mac: 0 Windows: 06月28日 Linux: 0 Mac: 0 Windows: 06月27日 Linux: 0 Mac: 0 Windows: 06月26日 Linux: 0 Mac: 1 Windows: 06月25日 Linux: 0 Mac: 0 Windows: 06月24日 Linux: 0 Mac: 0 Windows: 06月23日 Linux: 0 Mac: 0 Windows: 08月6日 Linux: 0 Mac: 1 Windows: 08月5日 Linux: 0 Mac: 1 Windows: 08月4日 Linux: 0 Mac: 0 Windows: 08月3日 Linux: 0 Mac: 0 Windows: 08月2日 Linux: 0 Mac: 0 Windows: 18月1日 Linux: 0 Mac: 0 Windows: 07月31日 Linux: 0 Mac: 0 Windows: 07月30日 Linux: 0 Mac: 0 Windows: 07月29日 Linux: 0 Mac: 0 Windows: 07月28日 Linux: 0 Mac: 0 Windows: 07月27日 Linux: 0 Mac: 0 Windows: 07月26日 Linux: 0 Mac: 0 Windows: 07月25日 Linux: 0 Mac: 1 Windows: 07月24日 Linux: 0 Mac: 0 Windows: 07月23日 Linux: 0 Mac: 0 Windows: 07月22日 Linux: 0 Mac: 0 Windows: 17月21日 Linux: 0 Mac: 0 Windows: 07月20日 Linux: 0 Mac: 0 Windows: 07月19日 Linux: 0 Mac: 0 Windows: 07月18日 Linux: 0 Mac: 0 Windows: 07月17日 Linux: 0 Mac: 0 Windows: 07月16日 Linux: 0 Mac: 0 Windows: 07月15日 Linux: 0 Mac: 0 Windows: 07月14日 Linux: 0 Mac: 0 Windows: 07月13日 Linux: 0 Mac: 0 Windows: 07月12日 Linux: 0 Mac: 0 Windows: 07月11日 Linux: 0 Mac: 0 Windows: 07月10日 Linux: 0 Mac: 0 Windows: 07月9日 Linux: 0 Mac: 0 Windows: 07月8日 Linux: 0 Mac: 0 Windows: 17月7日 Linux: 0 Mac: 0 Windows: 07月6日 Linux: 0 Mac: 0 Windows: 07月5日 Linux: 0 Mac: 0 Windows: 17月4日 Linux: 0 Mac: 0 Windows: 07月3日 Linux: 0 Mac: 0 Windows: 07月2日 Linux: 0 Mac: 0 Windows: 07月1日 Linux: 0 Mac: 0 Windows: 06月30日 Linux: 0 Mac: 0 Windows: 06月29日 Linux: 0 Mac: 0 Windows: 06月28日 Linux: 0 Mac: 0 Windows: 06月27日 Linux: 0 Mac: 0 Windows: 06月26日 Linux: 0 Mac: 1 Windows: 06月25日 Linux: 0 Mac: 0 Windows: 06月24日 Linux: 0 Mac: 0 Windows: 06月23日 Linux: 0 Mac: 0 Windows: 08月6日 Linux: 0 Mac: 1 Windows: 08月5日 Linux: 0 Mac: 1 Windows: 08月4日 Linux: 0 Mac: 0 Windows: 08月3日 Linux: 0 Mac: 0 Windows: 08月2日 Linux: 0 Mac: 0 Windows: 18月1日 Linux: 0 Mac: 0 Windows: 07月31日 Linux: 0 Mac: 0 Windows: 07月30日 Linux: 0 Mac: 0 Windows: 07月29日 Linux: 0 Mac: 0 Windows: 07月28日 Linux: 0 Mac: 0 Windows: 07月27日 Linux: 0 Mac: 0 Windows: 07月26日 Linux: 0 Mac: 0 Windows: 07月25日 Linux: 0 Mac: 1 Windows: 07月24日 Linux: 0 Mac: 0 Windows: 07月23日 Linux: 0 Mac: 0 Windows: 07月22日 Linux: 0 Mac: 0 Windows: 17月21日 Linux: 0 Mac: 0 Windows: 07月20日 Linux: 0 Mac: 0 Windows: 07月19日 Linux: 0 Mac: 0 Windows: 07月18日 Linux: 0 Mac: 0 Windows: 07月17日 Linux: 0 Mac: 0 Windows: 07月16日 Linux: 0 Mac: 0 Windows: 07月15日 Linux: 0 Mac: 0 Windows: 07月14日 Linux: 0 Mac: 0 Windows: 07月13日 Linux: 0 Mac: 0 Windows: 07月12日 Linux: 0 Mac: 0 Windows: 07月11日 Linux: 0 Mac: 0 Windows: 07月10日 Linux: 0 Mac: 0 Windows: 07月9日 Linux: 0 Mac: 0 Windows: 07月8日 Linux: 0 Mac: 0 Windows: 17月7日 Linux: 0 Mac: 0 Windows: 07月6日 Linux: 0 Mac: 0 Windows: 07月5日 Linux: 0 Mac: 0 Windows: 17月4日 Linux: 0 Mac: 0 Windows: 07月3日 Linux: 0 Mac: 0 Windows: 07月2日 Linux: 0 Mac: 0 Windows: 07月1日 Linux: 0 Mac: 0 Windows: 06月30日 Linux: 0 Mac: 0 Windows: 06月29日 Linux: 0 Mac: 0 Windows: 06月28日 Linux: 0 Mac: 0 Windows: 06月27日 Linux: 0 Mac: 0 Windows: 06月26日 Linux: 0 Mac: 1 Windows: 06月25日 Linux: 0 Mac: 0 Windows: 06月24日 Linux: 0 Mac: 0 Windows: 06月23日 Linux: 0 Mac: 0 Windows: 0

README

源代码
raw.githubusercontent.com

Sublime Text Elixir Tests

免责声明

我毫无顾忌地复制了出色的Sublime插件(RubyTest)[https://github.com/maltize/sublime-text-2-ruby-tests],只是将其修改为使用`mix`代替`rspec`,并检测Elixir文件而不是Ruby文件。因此,所有荣誉都归功于这些人:* Maciej Gajek (https://github.com/maltize) * Grzegorz Smajdor (https://github.com/gs) * Tejas Dinkar (https://github.com/gja)

贡献者

感谢为:* Matt (https://github.com/molenick) * CJ Bryan (https://github.com/waltz)

修正和调整这个东东 :):

概览

运行

  • 运行Elixir测试(所有带mix的测试,从文件/单个测试运行)

安装

进入您的Sublime Text Packages 目录

  • OS X: ~/Library/Application\ Support/Sublime\ Text\ 2/Packages
  • Windows: %APPDATA%/Sublime Text 2/Packages/
  • Linux: ~/.config/sublime-text-2/Packages/

然后使用以下命令克隆存储库

git clone https://github.com/tarzan/sublime-text-elixir-tests.git ElixirTest

设置

'Sublime Text' -> '首选项' -> '软件包设置' -> 'ElixirTest'

ElixirTest.sublime-settings 文件复制到 ~/Library/Application\ Support/Sublime\ Text\ 2/Packages/User/ 并做出您的更改。

用法

  • 运行单个Elixir测试:Ctrl-Command-Shift-R
  • 从当前文件运行所有Elixir测试:Ctrl-Command-Shift-T
  • 运行最后运行的Elixir测试:Ctrl-Command-Shift-E
  • 显示测试面板:Command-Shift-X(当测试面板可见时,按esc键将其隐藏)
  • 在代码和测试之间切换(如果找不到,则创建文件)
    • 单视图:Command-.
    • 分割视图:Command-Ctrl-. 键盘:'Command'(OSX)'Ctrl'(Linux / Windows)

设置

{
  "run_mix_command": "mix {relative_path}",
  "run_single_mix_command": "mix {relative_path}:{line_number}",

  "mix_test_folder": "test",

  "check_for_mix": false,

  "save_on_run": false,
  "ignored_directories": [".git", "vendor", "tmp"],

  "hide_panel": false,

  "before_callback": "",
  "after_callback": "",

  "theme": "Packages/ElixirTest/TestConsole-belafonte-night.tmTheme",
  "syntax": "Packages/ElixirTest/TestConsole.tmLanguage",

  "terminal_encoding": "utf-8"
}