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

Try to run the latest versions of webid, crud and wac tests #1756

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
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
16 changes: 2 additions & 14 deletions test/surface/run-solid-test-suite.sh
Original file line number Diff line number Diff line change
Expand Up @@ -41,26 +41,14 @@ function runTests {
--env-file test/surface/$1-env.list solidtestsuite/$1:$2
}

function runTestsFromGit {
docker build https://github.com/solid-contrib/$1.git#$2 -t $1

echo "Running web-access-control-tests against server with cookie $COOKIE_server"
docker run --rm --network=testnet \
--env COOKIE="$COOKIE_server" \
--env COOKIE_ALICE="$COOKIE_server" \
--env COOKIE_BOB="$COOKIE_thirdparty" \
--env-file test/surface/$1-env.list $1
}

# ...
teardown || true
setup $1
waitForNss server
runTests webid-provider-tests v2.0.3
runTestsFromGit solid-crud-tests v6.0.0-issue#1743
runTests solid-crud-tests v6.0.0
waitForNss thirdparty
# runTests web-access-control-tests v7.1.0
runTestsFromGit web-access-control-tests patchAppendNewDocument
runTests web-access-control-tests v7.1.0
teardown

# To debug, e.g. running web-access-control-tests jest interactively,
Expand Down
Loading