rove
rove copied to clipboard
How to run Rove from the command line ? "component … not found"
Hi,
I tried to run rove
from the command line from your jsonrpc project that is show in the README. I only get the error
$ rove tests/request-response.lisp [master]
Unhandled ASDF/FIND-COMPONENT:MISSING-COMPONENT in thread #<SB-THREAD:THREAD "main thread" RUNNING
{10005385B3}>:
Component "jsonrpc/tests/request-response" not found
Backtrace for: #<SB-THREAD:THREAD "main thread" RUNNING {10005385B3}>
0: (SB-DEBUG::DEBUGGER-DISABLED-HOOK Component "jsonrpc/tests/request-response" not found #<unused argument> :QUIT T)
1: (SB-DEBUG::RUN-HOOK SB-EXT:*INVOKE-DEBUGGER-HOOK* Component "jsonrpc/tests/request-response" not found)
The jsonrpc test definition: https://github.com/fukamachi/jsonrpc/blob/master/tests/request-response.lisp
Is there some Roswell code to include at the top of a test file, or is it supposed to work out of the box?
thanks
$ ros --version [master]
roswell 20.06.14.107(NO-GIT-REVISION)
$ ros update quicklisp [master]
Downloading http://beta.quicklisp.org/client/quicklisp.sexp
[##########################################################################]100%
Updating client from version 2019-02-16 to version 2020-01-04.
Downloading http://beta.quicklisp.org/client/2020-01-04/quicklisp.tar.gz
##########################################################################
New Quicklisp client installed. It will take effect on restart.
1 dist to check.
Downloading http://beta.quicklisp.org/dist/quicklisp.txt
[##########################################################################]100%
Downloading http://beta.quicklisp.org/dist/quicklisp/2020-07-15/releases.txt
[…]
$ rm ~/.roswell/bin/rove
$ ros install rove
I'm getting this same error when running tests from the command line. Is there a missing step?
If helpful, this (very simple) library uses rove with pretty much full coverage, and the readme describes how to run the test suite in various ways.
https://github.com/jonatack/cl-kraken
Thank you @jonatack. When I download your project and run rove cl-kraken.asd
on the command line, I get the same error as above.
@benjamincassidy I run the tests using any of these incantations from the command line: https://github.com/jonatack/cl-kraken#tests (with this asd file: https://github.com/jonatack/cl-kraken/blob/master/cl-kraken.asd)
I run the tests using any of these incantations from the command line
@jonatack You mean, these incantations are for the Lisp REPL. You don't use rove
on the terminal, the utility that we install with Roswell, do you?
Oh, sorry no, I've never been able to install Roswell (on Debian). Haven't tried in the past year, however.
Having the same problem with my cl-project generated code, which uses rove. @fukamachi any help?