Skip to content

mrc/mrc-stefil-extras

Repository files navigation

mrc-stefil-extras

A helper function for using stefil. This used to live in rep-theatre, but I didn’t want non-testing systems to depend on stefil, so I split it out.

Examples

are

are lets me write tests with a series of assertions without so much noise. It uses stefil but could easily be switched if I switch test frameworks.

(deftest addition ()
  (are (= 5 (+ 2 3))
       (= -5 (+ -2 -3))
       (= 10 (+ 2 3 5))))

Use

Add the project to your asdf search path (e.g. (push #P"../mrc-stefil-extras/" asdf:*central-registry*)) then:

(ql:quickload :mrc-stefil-extras)

Test

(ql:quickload :mrc-stefil-extras-tests)
(t-mrc-stefil-extras:test-all)

About

A helper function for using stefil.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published