Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use rove instead of prove for caveman2 skeleton #121

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 0 additions & 11 deletions v2/skeleton/skeleton-test.asd

This file was deleted.

13 changes: 12 additions & 1 deletion v2/skeleton/skeleton.asd
Original file line number Diff line number Diff line change
Expand Up @@ -26,4 +26,15 @@
(:file "db" :depends-on ("config"))
(:file "config"))))
:description "<% @var description %>"
:in-order-to ((test-op (test-op "<% @var name %>-test"))))
:in-order-to ((test-op (test-op "<% @var name %>-tests"))))

(defsystem "<% @var name %>-tests"
:author "<% @var author %>"
:license "<% @var license %>"
:depends-on ("<% @var name %>"
"rove")
:components ((:module "tests"
:components
((:file "<% @var name %>"))))
:description "Test system for <% @var name %>"
:perform (test-op (op c) (symbol-call :rove :run c)))
10 changes: 4 additions & 6 deletions v2/skeleton/tests/skeleton.lisp
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,9 @@
(defpackage <% @var name %>-test
(:use :cl
:<% @var name %>
:prove))
:rove))
(in-package :<% @var name %>-test)

(plan nil)

;; blah blah blah.

(finalize)
(deftest test-target-1
(testing "should (= 1 1) to be true"
(ok (= 1 1))))