Skip to content

liquidz/vim-iced-kaocha

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

vim-iced-kaocha

vim-iced plugin for testing with kaocha. This plugin is powered by liquidz/kaocha-nrepl.

vim-iced plugin Become a Patron

Warning
This project is under development.

Requirements

Command

  • :IcedKaochaTest

  • :IcedKaochaTestUnderCursor

  • :IcedKaochaTestNs

  • :IcedKaochaTestAll

  • :IcedKaochaTestRedo

  • :IcedKaochaTestRerunLast

For more information, see help file.

Installation

vim-plug

Plug 'liquidz/vim-iced', {'for': 'clojure'}
Plug 'liquidz/vim-iced-kaocha'

iced command

To enable kaocha-nrepl middleware, please specify --dependency and --middleware option.

Clojars Project

$ iced repl --dependency=kaocha-nrepl:0.1.1 --middleware=kaocha-nrepl.core/wrap-kaocha

Usage

clojure.test

No extra dependencies are required. Run iced command with above options, and execute providing commands.

Midje

Warning

kaocha-midje 0.0-5 will run fasts every Load part in kaocha.
This behavior may fix next version. #1

project.clj
{:dependencies [[lambdaisland/kaocha-midje "0.0-5"
                 :exclusions [midje/midje]]
                [midje/midje "1.9.6"]]}
tests.edn
#kaocha/v1
{:tests [{:id :unit
          :type :kaocha.type/midje

          ;; OPTIONAL. default value is "test"
          :test-paths ["test"]
          ;; OPTIONAL. default value is ".*-test"
          :ns-patterns [".*"]
          }]}

License

Copyright (c) 2019 Masashi Iizuka.

Distributed under the MIT License.

About

vim-iced plugin for testing with kaocha

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •