Skip to content
This repository has been archived by the owner on Jan 23, 2024. It is now read-only.

Unclear how to run only part of the suite #235

Open
michielbdejong opened this issue Mar 29, 2019 · 2 comments
Open

Unclear how to run only part of the suite #235

michielbdejong opened this issue Mar 29, 2019 · 2 comments

Comments

@michielbdejong
Copy link

I tried using --test and --includedGroups but it seems these options can't be combined with the --server option. And if I don't set the --server option, then I get ERROR: missing server uri so that's also not the right way, I think.

java -jar target/ldp-testsuite-0.2.0-SNAPSHOT-shaded.jar --direct --includedGroups MUST --server http://localhost:8000
ERROR: The option 'server' was specified but an option from this group has already been selected: 'includedGroups'

usage: java -jar ldp-testsuite.jar
    --assertor <assertor>               the URL of the person or agent
                                        that asserts the results: required
                                        with --earl
    --auth <username:password>          server basic authentication
                                        credentials following the syntax
                                        username:password
[...]
@acoburn
Copy link
Member

acoburn commented Mar 29, 2019

FWIW, I have encountered similar errors when using various (e.g. --includedGroups) command line options.

@michielbdejong
Copy link
Author

michielbdejong commented Mar 29, 2019

As a workaround, I hardcoded server = "http://localhost:8000"; in https://github.com/w3c/ldp-testsuite/blob/master/src/main/java/org/w3/ldp/testsuite/LdpTestSuite.java#L168 and that allows me to use the --includedGroups and --test options as intended now, so I'm unblocked for the moment, but this definitely looks like a bug to me.

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

No branches or pull requests

2 participants