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

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

Open
bourgeoa opened this issue Feb 25, 2021 · 1 comment
Open

Comments

@bourgeoa
Copy link
Member

bourgeoa commented Feb 25, 2021

@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

  • In each tests repository : create a separate run file (run-against-nss.sh, run-against-css.sh, ....) for each server with a jest outputFile in a folder (example bellow
    -- if running the tests from solidos stack, the result folder will be in workspaces/test-suite/NSS, CSS, ESS, ...
    -- env values can be used to include/exclude tests
# init section
export RESULTS_PATH=.../test-suite/NSS/crud-results.json

# 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
@edwardsph
Copy link
Contributor

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.

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

2 participants