Permalink
Browse files

Merge pull request #41 from logosity/master

slides for continuous testing in clojure
  • Loading branch information...
2 parents ae1b973 + 5355e1c commit f4484634d26b5607b6b942354dd77116fa09ace1 Alex Miller committed May 1, 2012
@@ -0,0 +1,8 @@
+" Values from slides.vroom config section. (under 'gvimrc')
+set fuopt=maxhorz,maxvert
+set nonumber
+set guifont=Inconsolata:h18
+
+
+" Overrides from /Users/bcaputo/.vroom/gvimrc
+
@@ -0,0 +1,15 @@
+
+ <SPACE> Advance
+ <BACKSPACE> Go back
+
+ ?? Help
+ QQ Quit Vroom
+
+ RR Run slide as a program
+ VV vroom --vroom
+ EE Edit file under cursor
+ OO Open file under cursor (Mac OS X)
+
+
+ (Press SPACE to leave Help screen and continue)
+
@@ -0,0 +1,50 @@
+" This .vimrc file was created by Vroom-0.23
+map <SPACE> :n<CR>:<CR>gg
+map <BACKSPACE> :N<CR>:<CR>gg
+map R :!vroom -run %<CR>
+map RR :!vroom -run %<CR>
+map VV :!vroom -vroom<CR>
+map QQ :q!<CR>
+map OO :!open <cWORD><CR><CR>
+map EE :e <cWORD><CR>
+map !! G:!open <cWORD><CR><CR>
+map ?? :e .help<CR>
+set laststatus=2
+set statusline=%-20f\ Vroom!
+
+" Overrides from /Users/bcaputo/.vroom/vimrc
+
+
+" Values from slides.vroom config section. (under 'vimrc')
+function! GetNextIdx(indexIncrement)
+ let l:absIdx = argidx() + a:indexIncrement
+ let l:absIdx = l:absIdx < 0 ? 0 : l:absIdx
+ let l:absIdx = l:absIdx >= argc() ? (argc() - 1) : l:absIdx
+ return l:absIdx
+endfunction
+
+function! ExecuteCommand(cmd)
+ exe ':silent !' . a:cmd
+endfunction
+
+function! TransitionCommand(idx)
+ return 'transition.' . argv(a:idx) . '.sh'
+endfunction
+
+function! NotesCommand(idx)
+ return 'cp ' . 'notes.' . argv(a:idx) . ' notes.txt'
+endfunction
+
+function! RunTransitionHook(increment)
+ call ExecuteCommand(TransitionCommand(GetNextIdx(a:increment)))
+endfunction
+
+function! WriteNotes(increment)
+ call ExecuteCommand(NotesCommand(GetNextIdx(a:increment)))
+endfunction
+
+
+set nonumber
+map <PageDown> :call WriteNotes(1)<CR>:call RunTransitionHook(1)<CR>:n<CR>:<CR>gg
+map <PageUp> :call WriteNotes(-1)<CR>:call RunTransitionHook(-1)<CR>:N<CR>:<CR>gg
+
@@ -0,0 +1,24 @@
+
+
+
+
+
+
+
+
+ continuous testing in clojure
+
+ bill caputo (@logosity)
+ drw trading
+
+ .
+
+
+
+
+
+
+
+
+
+
@@ -0,0 +1,24 @@
+ what is continuous testing?
+
+ "We seek, not to build guard rails, but to paint lines on the road [...] You still have to know how to drive."
+ ~ Ben Rady, "Continuous Testing with Ruby."
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -0,0 +1,24 @@
+ what is continuous testing?
+
+ "We seek, not to build guard rails, but to paint lines on the road [...] You still have to know how to drive."
+ ~ Ben Rady, "Continuous Testing with Ruby."
+
+ * executable documentation
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -0,0 +1,24 @@
+ what is continuous testing?
+
+ "We seek, not to build guard rails, but to paint lines on the road [...] You still have to know how to drive."
+ ~ Ben Rady, "Continuous Testing with Ruby."
+
+ * executable documentation
+
+ * constant feedback
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -0,0 +1,24 @@
+ what is continuous testing?
+
+ "We seek, not to build guard rails, but to paint lines on the road [...] You still have to know how to drive."
+ ~ Ben Rady, "Continuous Testing with Ruby."
+
+ * executable documentation
+
+ * constant feedback
+
+ * flow
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -0,0 +1,24 @@
+ what is continuous testing?
+
+ "We seek, not to build guard rails, but to paint lines on the road [...] You still have to know how to drive."
+ ~ Ben Rady, "Continuous Testing with Ruby."
+
+ * executable documentation
+
+ * constant feedback
+
+ * flow
+
+ * speed not completeness
+
+
+
+
+
+
+
+
+
+
+
+
@@ -0,0 +1,30 @@
+ what is continuous testing?
+
+ "We seek, not to build guard rails, but to paint lines on the road [...] You still have to know how to drive."
+ ~ Ben Rady, "Continuous Testing with Ruby."
+
+ * executable documentation
+
+ * constant feedback
+
+ * flow
+
+ * speed not completeness
+
+ - clojure: 181 expectations 47 ms
+ - ruby: 23 expectations 18 ms
+ - jruby: 30 expectations 1.081 seconds (hey, it's jruby)
+ - javascript: 712 expectations 2.225 seconds
+ --------------------------------------------
+ - total: 946 expectations 3.371 seconds
+
+
+
+
+
+
+
+
+
+
+ .
@@ -0,0 +1,24 @@
+ under the hood...
+
+ (defproject clojure-west "1.0.0-SNAPSHOT"
+ :description "Sample code and slides for CT talk"
+ :dependencies [[org.clojure/clojure "1.3.0"]]
+ :dev-dependencies [[expectations "1.3.6"]
+ [lein-autoexpect "0.0.3"]]
+ :repl-init repl.west)
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ .
+
@@ -0,0 +1,24 @@
+
+ an example...
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ .
+
+
+
+
@@ -0,0 +1,24 @@
+
+ an example...
+
+
+ +------------------+
+ | |
+ | Thing One. |
+ | |
+ | |
+ | |
+ | |
+ +------------------+
+
+
+
+
+
+
+
+ .
+
+
+
+
@@ -0,0 +1,24 @@
+
+ an example...
+
+ ...3 months later...
+
+
+ +------------------+ +--------------------+
+ | | | |
+ | Thing One. | | Thing Two. |
+ | | | |
+ | |<-------------+| |
+ | | | |
+ | | | |
+ +------------------+ +--------------------+
+
+
+
+
+
+ .
+
+
+
+
@@ -0,0 +1,24 @@
+
+ an example...
+
+ +------------------+
+ | |
+ | Thing One. |
+ | |
+ +--------->| |<-----------+
+ | | | |
+ | | | |
+ | +------------------+ |
+ + +
+ +------------------+ +--------------------+
+ | | | |
+ | Thing Three. | | Thing Two. |
+ | | | |
+ | | | |
+ | | | |
+ | | | |
+ +------------------+ +--------------------+
+
+
+
+
Oops, something went wrong.

0 comments on commit f448463

Please sign in to comment.