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

How to run Rove from the command line ? "component … not found" #44

Open
vindarel opened this issue Sep 14, 2020 · 7 comments
Open

How to run Rove from the command line ? "component … not found" #44

vindarel opened this issue Sep 14, 2020 · 7 comments

Comments

@vindarel
Copy link
Sponsor Contributor

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
@benjamincassidy
Copy link

I'm getting this same error when running tests from the command line. Is there a missing step?

@jonatack
Copy link
Contributor

jonatack commented Jan 2, 2021

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

@benjamincassidy
Copy link

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.

@jonatack
Copy link
Contributor

jonatack commented Jan 2, 2021

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

@vindarel
Copy link
Sponsor Contributor Author

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?

@jonatack
Copy link
Contributor

jonatack commented Sep 14, 2021

Oh, sorry no, I've never been able to install Roswell (on Debian). Haven't tried in the past year, however.

@lockie
Copy link

lockie commented Mar 16, 2023

Having the same problem with my cl-project generated code, which uses rove. @fukamachi any help?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants