Skip to content

Commit

Permalink
Name tests in suite properly.
Browse files Browse the repository at this point in the history
oubiwann committed Oct 15, 2020
1 parent 440ce60 commit a188487
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions src/ltest.lfe
Original file line number Diff line number Diff line change
@@ -178,13 +178,12 @@

(defun all (opts)
(let* ((merged-opts (maps:merge (default-opts) opts))
(opts (maps:merge merged-opts #m(test-type all)))
(state (make-state color? (mref opts 'color)))
(test-type-opts (maps:merge opts #m(suite-headers false))))
(test-opts (maps:merge merged-opts #m(suite-headers false)))
(state (make-state color? (mref opts 'color))))
(maybe-suite-header opts state)
(unit test-type-opts)
(system test-type-opts)
(integration test-type-opts)
(unit (maps:merge test-opts #m(test-type unit)))
(system (maps:merge test-opts #m(test-type system)))
(integration (maps:merge test-opts #m(test-type integration)))
(maybe-suite-footer opts state)))

(defun unit ()

0 comments on commit a188487

Please sign in to comment.