-
Notifications
You must be signed in to change notification settings - Fork 26
Open
Description
Hey,
Where do you stand on adding support for a "tests" system as well? Something along the lines of:
(asdf:defsystem #:(#| TMPL_VAR name |#)
:description "Describe (#| TMPL_VAR name |#) here"
:author "(#| TMPL_VAR author |#)"
:license "(#| TMPL_VAR license |#)"
:version "0.0.1"
:serial t(#| TMPL_IF depends-on |#)
:depends-on (#| TMPL_VAR dependencies-string |#)(#| /TMPL_IF |#)
:in-order-to ((test-op (test-op #:(#| TMPL_VAR name |#)/tests)))
:components ((:file "package")
(:file "(#| TMPL_VAR name |#)")))
(asdf:defsystem #:(#| TMPL_VAR name |#)/tests
:description "Test suite for (#| TMPL_VAR name |#)"
:author "(#| TMPL_VAR author |#)"
:license "(#| TMPL_VAR license |#)"
:version "0.0.1"
:serial t(#| TMPL_IF depends-on |#)
:depends-on (#:(#| TMPL_VAR name |#))
:perform (test-op (o c) ((declare (ignore o c))))
:components ((:file "package")
(:file "(#| TMPL_VAR name |#)")))
I am not confident with the templating engine, so it might not even work, but what I had in mind:
- Define a new system, for tests
- Add
:in-order-toto the main system, to point to the tests system - Add dummy
:perform (test-op...to the tests system
If you are open to this, I can put together a PR and actually test this works.
Thanks
Metadata
Metadata
Assignees
Labels
No labels