Liking cljdoc? Tell your friends :D

CircleCI Clojars Project

kaocha-greenlight

Kaocha plugin to run greenlight tests.

Installing

The project is published through Clojars with the identifier caioaao/kaocha-greenlight. You can find version information for the latest release at https://clojars.org/caioaao/kaocha-greenlight.

Usage

Declare a test suite on your Kaocha config file with the type :caioaao.kaocha-greenlight/test. You'll also need to provide a value for :caioaao.kaocha-greenlight/new-system, which should be a function that receives no arguments and returns a stuartsierra's system map.

A tests.edn example:

#kaocha/v1
{:tests [{:id           :integration
          :type         :caioaao.kaocha-greenlight/test
          :test-paths   ["test"]
          :source-paths ["src"]
          :ns-patterns  ["-flow$"]
          :caioaao.kaocha-greenlight/new-system my.app/system-map}]}

For documentation on how to run tests, refer to Kaocha. For documentation regarding writing tests, refer to Greenlight.

License

Copyright © 2019 Caio Oliveira

This program and the accompanying materials are made available under the terms of the Eclipse Public License 2.0 which is available at http://www.eclipse.org/legal/epl-2.0.

This Source Code may also be made available under the following Secondary Licenses when the conditions for such availability set forth in the Eclipse Public License, v. 2.0 are satisfied: GNU General Public License as published by the Free Software Foundation, either version 2 of the License, or (at your option) any later version, with the GNU Classpath Exception which is available at https://www.gnu.org/software/classpath/license.html.

Can you improve this documentation?Edit on GitHub

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close