Skip to content

vodik/hytest

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

hytest

Experiment in mixing pytest and hy!

(require [hytest.macros [*]])

;; Define two fixtures
(deffixture good-value [] 42)

(deffixture bad-value [good-value]
  (* good-value 2))

;; Define two tests
(defn test-good [good-value]
  (assert (= good-value 42)))

(defn test-bad [bad-value]
  (assert (= bad-value 42)))

Releases

No releases published

Packages

No packages published