solid-contrib / web-access-control-tests

Tests if a Solid server implements web access control correctly
MIT License
2 stars 5 forks source link

WAC Tests

Surface tests for CRUD and Websockets-pubsub functionality of a pod server

Note some tests are currently skipped due to https://github.com/solid/web-access-control-spec/issues/105.

Usage

In development

Start your server with a self-signed cert on port 443 of localhost (for node-solid-server, make sure to set ACL_CACHE_TIME=5) and run sh ./example.sh.

Against NSS

In one terminal window:

You can also cut-and-paste the lines from run-against-nss.sh into your bash shell, then you can more easily run tests interactively.

Against CSS

In one terminal window:

In another terminal window:

You can also cut-and-paste the lines from run-against-css.sh into your bash shell, then you can more easily run tests interactively.

Against CSS with local NSS instance as the IDP

If you want to use your NSS on localhost instead of on solidcommunity.net, then: