Skip to content
a colorful test framework for clojure inspired by clojure.test
Clojure
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
src/acolfut
test/acolfut
.gitignore
LICENSE
README.md
project.clj

README.md

Acolfut

a coloful test framework for clojure inspired by clojure.test

Clojars Project

Usage

  • project.clj
:dependencies [[acolfut "0.3.3"]]
:plugins [[lein-colortest "0.3.0"]]
  • testfile.clj
(ns acolfut.sweet-test
  (:require [acolfut.sweet :refer :all]))

(deftest failure-test
  (testing "this is a failure test"
    (is= 0 1)))

(deftest error-test
  (testing "this is a error test"
    (is= 0 (* 1 (:k {})))))

(deftest success-test
  (testing "this is a success test"
    (is= 0 0)
    (isnot false)
    (isnot= 0 1)))

License

Copyright © 2015 jihui

Distributed under the Eclipse Public License, the same as Clojure.

You can’t perform that action at this time.