rabbit-slide-wikimatze-vim-test 2016.10.13

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 1fa426c97dce5a7bfece0c5cc7c3490b196c7bdf
4
+ data.tar.gz: fbfd6d9d62708ba4e281d62673fc4ff616bdc5e7
5
+ SHA512:
6
+ metadata.gz: 1352240d70562f8020505de2dc50798eed5b265244c83a591a41b18aefb330f881983af46206e316a8f701bb04fb78270ecc21e37f660cd0829d639ac5ddb258
7
+ data.tar.gz: ad0b7fa8d3e114c5c8bc05efc17f100b6593eae1c10f947fb0981c8a20ab02f58fb2fb2097344cc6e25ec421f8ace56c0126dad5383880280fe93ee6e814bb50
data/.rabbit ADDED
@@ -0,0 +1 @@
1
+ vim-test.md
@@ -0,0 +1,25 @@
1
+ # Getting started with vim-test
2
+
3
+ Given at <http://vimberlin.de/october-2016-meetup>
4
+
5
+
6
+ ## For author
7
+
8
+ ### Show
9
+
10
+ rake
11
+
12
+ ### Publish
13
+
14
+ rake publish
15
+
16
+ ## For viewers
17
+
18
+ ### Install
19
+
20
+ gem install rabbit-slide--vim-test
21
+
22
+ ### Show
23
+
24
+ rabbit rabbit-slide--vim-test.gem
25
+
@@ -0,0 +1,17 @@
1
+ require "rabbit/task/slide"
2
+
3
+ # Edit ./config.yaml to customize meta data
4
+
5
+ spec = nil
6
+ Rabbit::Task::Slide.new do |task|
7
+ spec = task.spec
8
+ # spec.files += Dir.glob("doc/**/*.*")
9
+ # spec.files -= Dir.glob("private/**/*.*")
10
+ # spec.add_runtime_dependency("YOUR THEME")
11
+ end
12
+
13
+ desc "Tag #{spec.version}"
14
+ task :tag do
15
+ sh("git", "tag", "-a", spec.version.to_s, "-m", "Publish #{spec.version}")
16
+ sh("git", "push", "--tags")
17
+ end
@@ -0,0 +1,19 @@
1
+ ---
2
+ id: vim-test
3
+ base_name: vim-test
4
+ tags: []
5
+ presentation_date: 2016/10/13
6
+ version: 2016.10.13
7
+ licenses: []
8
+ slideshare_id:
9
+ speaker_deck_id: vim-test-plugin
10
+ ustream_id:
11
+ vimeo_id:
12
+ youtube_id:
13
+ author:
14
+ markup_language: :markdown
15
+ name: Matthias Günther
16
+ email: matthias@wikimatze.de
17
+ rubygems_user: wikimatze
18
+ slideshare_user:
19
+ speaker_deck_user: wikimatze
Binary file
Binary file
@@ -0,0 +1,69 @@
1
+ # Getting started with vim-test
2
+
3
+ author
4
+ : Matthias Günther
5
+ date
6
+ : 2016/10/13
7
+
8
+
9
+ # Why?
10
+
11
+ - run your tests with one command
12
+ - support for many test frameworks:
13
+ - rspec, vader, gotest, phpunit, pytest, ...
14
+
15
+ # Commands
16
+
17
+ - `:TestNearest`: Runs the test nearest to the cursor
18
+ - `:TestFile`: Test the whole file
19
+ - `:TestSuite`: Runs all tests
20
+ - `:TestLast`: Runs the last test command again
21
+ - `:TestVisit`: Jumps to the last executed test
22
+
23
+
24
+ # Strategies
25
+
26
+ - `dispatch`, `vimux`, `neovim`
27
+ - `make`, `tslime`, `vimproc`
28
+
29
+
30
+ # Defining strategies
31
+
32
+ - `let test#strategy = "dispatch"`
33
+ - or more granular:
34
+
35
+ let test#strategy = {
36
+ \ 'nearest': 'vimux',
37
+ \ 'suite': 'dispatch'
38
+ \}
39
+
40
+
41
+ # Chose strategy via commandline
42
+
43
+ :TestNearest -strategy=basic
44
+
45
+
46
+ # CLI options
47
+
48
+ :TestNearest --backtrace
49
+
50
+ or configure it:
51
+
52
+ let test#ruby#rspec#options = '-f html'
53
+
54
+
55
+ # Mappings
56
+
57
+ nmap <silent> <leader>t :TestNearest<CR>
58
+ nmap <silent> <leader>T :TestFile<CR>
59
+ nmap <silent> <leader>a :TestSuite<CR>
60
+ nmap <silent> <leader>l :TestLast<CR>
61
+ nmap <silent> <leader>g :TestVisit<CR>
62
+
63
+
64
+ # Alternative: plain dispatch
65
+
66
+ :Dispatch rspec %
67
+ :Dispatch bundle exec rspec
68
+ :execute "Dispatch rspec " . expand("%") . ":" . line(".")
69
+
metadata ADDED
@@ -0,0 +1,64 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: rabbit-slide-wikimatze-vim-test
3
+ version: !ruby/object:Gem::Version
4
+ version: 2016.10.13
5
+ platform: ruby
6
+ authors:
7
+ - Matthias Günther
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2016-10-07 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: rabbit
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - ">="
18
+ - !ruby/object:Gem::Version
19
+ version: 2.0.2
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - ">="
25
+ - !ruby/object:Gem::Version
26
+ version: 2.0.2
27
+ description: Given at <http://vimberlin.de/october-2016-meetup>
28
+ email:
29
+ - matthias@wikimatze.de
30
+ executables: []
31
+ extensions: []
32
+ extra_rdoc_files: []
33
+ files:
34
+ - ".rabbit"
35
+ - README.md
36
+ - Rakefile
37
+ - config.yaml
38
+ - pdf/vim-test-vim-test.pdf
39
+ - test.pdf
40
+ - vim-test.md
41
+ homepage: http://slide.rabbit-shocker.org/authors/wikimatze/vim-test/
42
+ licenses: []
43
+ metadata: {}
44
+ post_install_message:
45
+ rdoc_options: []
46
+ require_paths:
47
+ - lib
48
+ required_ruby_version: !ruby/object:Gem::Requirement
49
+ requirements:
50
+ - - ">="
51
+ - !ruby/object:Gem::Version
52
+ version: '0'
53
+ required_rubygems_version: !ruby/object:Gem::Requirement
54
+ requirements:
55
+ - - ">="
56
+ - !ruby/object:Gem::Version
57
+ version: '0'
58
+ requirements: []
59
+ rubyforge_project:
60
+ rubygems_version: 2.5.1
61
+ signing_key:
62
+ specification_version: 4
63
+ summary: Getting started with vim-test
64
+ test_files: []