solid-contrib / test-suite

An automated test of Solid specification technical compliance
MIT License
23 stars 10 forks source link

proposal for a multi server tests report, with MUST, SHOULD, MAY ... #114

Open bourgeoa opened 3 years ago

bourgeoa commented 3 years ago

@michielbdejong @ylebre @edwardsph This is a proposal using MUST, SHOULD, MAY, as described in proposal issue #110 The example below use local repositories, located in solidos/workspaces

select section (

export INCLUDE_MAY=1 # by default 'MAY' is excluded export SKIP_SHOULD_A12=1 # skip tests referenced 'SHOULD', 'A12'

npm run jest "$@"

npm run jest -- --verbose --json --outputFile="$RESULTS_PATH" "$@" # verbose is optional



- in test-suite repo run a report builder using all `folder/files` created : example https://github.com/bourgeoa/test-suite/blob/main/test-suite-report.js
- and this is a `simplistic` example text report for the test-suite : https://github.com/bourgeoa/test-suite/blob/main/test-suite-report.txt (the values are real from 8/03/2021)
-- default is `SHOULD` and test numbering default is `Txxx` to link to errors
-- The `MAY` example includes a test id
edwardsph commented 3 years ago

When I started experimenting with this idea I had a script that aggregated the different results. I'll have a look at it tomorrow and see if it's worth you looking at but I suspect it was a minimal placeholder.