An open API service indexing awesome lists of open source software.

https://github.com/vodik/hytest

pytest for hylang
https://github.com/vodik/hytest

hylang pytest pytest-plugin

Last synced: about 2 months ago
JSON representation

pytest for hylang

Awesome Lists containing this project

README

          

## hytest

Experiment in mixing pytest and hy!

```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)))
```