Skip to content
프로젝트

소개

A minimalist's unit testing framework ("classic" version)

개발 도구

이 수치를 측정하는 방법

측정된 스타 증가

in 24h
0
in 7 days
0
in 15 days
기록 수집 중
in 1 month
기록 수집 중

서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.

README.md

Original

Expectations

This is the "classic" expectations library (considered stable and "in maintenance mode" at this point). It uses its own set of tooling and is not compatible with clojure.test-based tooling.

clojure.test compatibility

There is a very actively-maintained variant of this library that is compatible with clojure.test and its tooling:

expectations.clojure.test (documentation)

"Classic" Expectations (legacy)

Visit this website for all of the "classic" expectation docs:

https://clojure-expectations.github.io

Running the tests:

lein do clean, test

This will run the (successful) expectations for Clojure (currently 83).

Then run the ClojureScript tests interactively:

./scripts/repl
cljs.user=> (require 'expectations.test)
...
cljs.user=> (expectations.test/-main)

This will run the (successful) expectations that are compatible with ClojureScript (currently 69/69).

You can run all expectations via:

lein do clean, expectations

This includes the deliberately failing expectations (used to visually confirm behavior for failing tests) and should run 128 assertions in total, of which 43 will fail and 2 will error.

License & Copyright

Copyright (c) 2010-2019, Jay C Fields, Sean Corfield. All rights reserved. This software is available under the BSD 3-Clause Open Source License.

Donate to Jay C Fields, the creator of Expectations

Donate Bitcoins

관련 프로젝트 살펴보기

불러오는 중…